when Alertmanager sends again after group_interval elapsed, it will notify about both alerts or just the newest alerts?

20 views
Skip to first unread message

zhang windy

unread,
Mar 26, 2020, 5:54:14 AM3/26/20
to Prometheus Users
Hi Team, I have a problem, please clarify,  thank you .

 In this situation:

As an example: A single alert rule (in prometheus) fires with a label set {foo="bar", instance="instanceA"}. Alertmanager sends an alert and is added to a new alert group. Then, the same alert rule fires again with a different label set {foo="bar", instance="instanceB"}. This is also added to the same alert group. Alertmanager won't send an additional alert out until after the time in group_interval.

when Alertmanager sends again after group_interval elapsed, it will notify about both alerts or about {foo="bar", instance="instanceB"} only? I feel confuesd, thank you very much.

Brian Candler

unread,
Mar 26, 2020, 5:56:51 AM3/26/20
to Prometheus Users
It will send a single message containing details of *all* the active alerts in the group.
Reply all
Reply to author
Forward
0 new messages