Removed target sends resolved alert

25 views
Skip to first unread message

Amanda H. L. de Andrade

unread,
Mar 26, 2020, 3:09:28 PM3/26/20
to Prometheus Users
Hi,

If a remove a target that has a alert in firing state, alertmanager sends a "resolved" alert to ours receivers.

How can I prevent that?

Stuart Clark

unread,
Mar 26, 2020, 4:16:08 PM3/26/20
to Amanda H. L. de Andrade, Prometheus Users
That's expected as the alert is no longer firing.


--
Stuart Clark

Murali Krishna Kanagala

unread,
Mar 28, 2020, 10:57:39 PM3/28/20
to Prometheus Users
If the target is removed from the scrape config the alert will resolve anyway. If you want to persist the alert set send_resolved to false in alertmanager. 

--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/01b812c3-a941-5dd7-449a-f6f86c30b9ed%40Jahingo.com.
Reply all
Reply to author
Forward
0 new messages