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):
I get 3 firing alerts
After sometime I get 2 resolved alerts - So there are 1 firing alerts and 2 resolved alerts
After repeat_interval, there are 1 firing alerts
What did you see instead?
I get 3 firing alerts
After sometime I get 2 resolved alerts - So there are 1 firing alerts and 2 resolved alerts
After repeat_interval I get 1 firing alerts and 2 resolved alerts. Nothing changes.
Environment
System information:
Linux 4.15.0-115-generic x86_64
Alertmanager version:
alertmanager, version 0.20.0 (branch: HEAD, revision: f74be0400a6243d10bb53812d6fa408ad71ff32d)
build user: root@00c3106655f8
build date: 20191211-14:13:14
go version: go1.13.5
Prometheus version:
prometheus, version 2.18.1 (branch: HEAD, revision: ecee9c8abfd118f139014cb1b174b08db3f342cf)
build user: root@2117a9e64a7e
build date: 20200507-16:51:47
go version: go1.14.2
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
System information:
Linux 4.15.0-115-generic x86_64
Alertmanager version:
alertmanager, version 0.20.0 (branch: HEAD, revision: f74be0400a6243d10bb53812d6fa408ad71ff32d) build user: root@00c3106655f8 build date: 20191211-14:13:14 go version: go1.13.5
Prometheus version:
prometheus, version 2.18.1 (branch: HEAD, revision: ecee9c8abfd118f139014cb1b174b08db3f342cf) build user: root@2117a9e64a7e build date: 20200507-16:51:47 go version: go1.14.2
Alertmanager configuration file:
route: group_by: