Skip to content

[fix] fix alertmanager integration issue#4022

Merged
tomsun28 merged 5 commits intoapache:masterfrom
Duansg:fix-4011
Feb 27, 2026
Merged

[fix] fix alertmanager integration issue#4022
tomsun28 merged 5 commits intoapache:masterfrom
Duansg:fix-4011

Conversation

@Duansg
Copy link
Member

@Duansg Duansg commented Feb 10, 2026

What's changed?

link #4011

In Alertmanager notification webhook pushes, Alertmanager sometimes does not retain this time and instead uses a "zero value" to represent "not yet resolved," although this is not documented officially.

I suspect this is caused by rapid recovery after an alert triggers it again. However, this issue does exist in alert notifications, for example: prometheus/alertmanager#3351

To this end, I added a null check to the parsing logic.

Checklist

  • I have read the Contributing Guide
  • I have written the necessary doc or comment.
  • I have added the necessary unit tests and all cases have passed.

Add or update API

  • I have added the necessary e2e tests and all cases have passed.

@Duansg Duansg requested a review from tomsun28 February 26, 2026 14:39
Copy link
Member

@tomsun28 tomsun28 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tomsun28 tomsun28 merged commit cc50a50 into apache:master Feb 27, 2026
3 checks passed
@Duansg Duansg deleted the fix-4011 branch February 27, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants