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 < [email protected]> 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/c47d9739-6dd7-4f8f-aa9b-cb21b386322f%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/c47d9739-6dd7-4f8f-aa9b-cb21b386322f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAFJ6V0rQEb%3DuApeUGuifxi6fLXkwn0UF88zv0uaAjzSRW1AEvw%40mail.gmail.com.

