weird metric condition

9 views
Skip to first unread message

Anton Kiryushkin

unread,
May 29, 2020, 11:15:46 AM5/29/20
to Prometheus Users
Does anyone know how to check the previous value of some metric in Prometheus and only send an alert in case it changed? In terms of saying, how to suppress firing alert automatically if the situation just a new reality, not a problem?

Julien Pivotto

unread,
May 29, 2020, 11:23:37 AM5/29/20
to Anton Kiryushkin, Prometheus Users
I would like to know more about your use case but I have used "and changes(metric[1h)" in expressions for those situations.

Le ven. 29 mai 2020 à 17:15, 'Anton Kiryushkin' via Prometheus Users <promethe...@googlegroups.com> a écrit :
Does anyone know how to check the previous value of some metric in Prometheus and only send an alert in case it changed? In terms of saying, how to suppress firing alert automatically if the situation just a new reality, not a problem?

--
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/c47d9739-6dd7-4f8f-aa9b-cb21b386322f%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages