I understood this part. I am facing a unique situation here. The alert based on the condition triggers fine . Now, after some time, the telemetry, based on which the alert was created, went missing. This does not happen often. At this point it should not resolve the alert.
Because if the alert has triggered at foo < 3, then it should resolve only when foo >= 4. Not at the time when the telemetry foo is completely missing. If this is an expected behavior, can you suggest how I can stop resolution of an alert when telemetry goes missing for an active alert? On Tue, May 26, 2020, 4:58 PM Brian Candler <[email protected]> wrote: > Alerts "resolve" when they no longer exist. Consider for example: > > expr: foo < 3 > > The result of this promQL expression is all metrics with __name__="foo" > and value < 3. So given as input: > > foo{instance="bar"} 1 > foo{instance="baz"} 2 > foo{instance="qux"} 4 > > then expr: foo < 3 gives > > foo{instance="bar"} 1 > foo{instance="baz"} 2 > > Hence the alert triggers with two values. If any of them go back to 3 or > higher, then they vanish from the expression results. > > An alert "resolving" is simply when it ceases to exist. > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Prometheus Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/prometheus-users/oUVvsp3IgTE/unsubscribe > . > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/prometheus-users/fbbdab5f-7a2c-4dbd-9a9f-db31061b2c96%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/fbbdab5f-7a2c-4dbd-9a9f-db31061b2c96%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/CAJO1_QSOrymSh%3DbQ7EJr5HyB4NNVR09w0QWawFyofiRAF6CK_g%40mail.gmail.com.

