Alertmanager sending alerts to Opsgenie in multiple fragments

162 views
Skip to first unread message

Doug Whitfield

unread,
Sep 17, 2021, 9:52:35 AM9/17/21
to Prometheus Users
Our Prometheus (version 2.23.0) environment has alerting rules for monitored Kubernetes clusters for which Alertmanager sends alerts to Opsgenie. What we’re seeing is that Opsgenie receives six copies of the alert within a few milliseconds of each other, but none of them contain all of the fields. Several may have the description, or the responders, or priority, or tags, but none has a complete set of the relevant fields. This results in Opsgenie constructing an alert based on whichever copy it processes first, and counting the others as duplicates. Because the alert is always created from an incomplete copy of the alert, it is missing some of the information. I have had alertmanager send the alerts to a webhook to capture the JSON and it confirms the multiple copies that Opsgenie’s logs show. I have experimented with several different settings to try to get alertmanager to consolidate these alert notifications into one copy but haven’t had any success.

Now, I believe that https://github.com/prometheus/alertmanager/pull/2519 resolves the issue, but I can't roll it out until the next version of alertmanager comes out. Can anyone tell by my description if these are the same?

Thanks!
Doug
Reply all
Reply to author
Forward
0 new messages