Hey , You are truly a rockstar.
Yeah infact the data was not coming. Is there any way. I can set no data condition as alerting . On Tue, 28 Apr, 2020, 3:22 pm Brian Candler, <[email protected]> wrote: > That's a complicated expression. > > I suggest you paste the whole expression into the promql browser (i.e. > prometheus port 9090) and look at the graph. If you see gaps in the graph, > that's where the expression does not have any value, and that's where the > alert is getting resolved. > > Note that while you can configure prometheus to require an alert to be > firing for a certain amount of time before generating an alert ("for: 5m"), > you cannot configure it for an alert to be *not firing* for a certain > amount of time before it is resolved. As soon as your expression does not > generate a value, even for one evaluation cycle, it will be considered > resolved. > > -- > 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/de883b91-8e96-4538-b911-4afdbb083dc6%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/de883b91-8e96-4538-b911-4afdbb083dc6%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/CAPz289usP-TVZurEj6Ei0r%2BVxvm%2Bj%2BzcrF7NJ9DN%3DrtbnROmyg%40mail.gmail.com.

