prometheus / alertmanager

Prometheus Alertmanager
https://prometheus.io
Apache License 2.0
6.59k stars 2.14k forks source link

Repeated resolved alerts after 'repeat_interval' #2474

Open noevhlev opened 3 years ago

noevhlev commented 3 years ago

After updating alertmanager from version 0.19 to 0.20, I had a problem. When I group alerts, the resolved alerts are not disappear anymore in the case that there are already firing alerts in the group. When upgrading to version 0.21, the problem is still reproducible.

It seems this problem appeared after PR#2040. In the annotation to the PR, it was written that the aggregation group is responsible for removing the resolved alerts. However, this does not happen - perhaps I've missed something.

What did you expect to see?(That's how it worked before):

What did you see instead?

Environment

route: group_by:

axlev commented 3 years ago

Any updates on this ? @noevhlev how did you finally manage, Vladimir ?

noevhlev commented 3 years ago

We have updated the alertmanager to version 0.22.2. Unfortunately the problem is still reproducible.