The alert should resolve if the query does not give any results. On Tue, May 26, 2020, 11:22 AM Arnav Bose <[email protected]> wrote:
> I have this scenario with prometheus-alert manager alerting: > > > alert condition: K_status != 3 > > > The alert gets triggered fine and when the value changes back to 3, the > alert resolves correctly as well. > > > The problem starts when it has already alerted based on K_status != 3 and > then the telemetry goes missing. Now, it triggers a resolution, which is > not correct. > > > if I add a condition to check if the metric exists or not along with the > main condition, will it alert and resolve correctly even when telemetry > goes missing? Eg: > > K_status != 3 and on (port) K_status > > So, it triggers an alert when both conditions satisfy. Now if telemetry > goes missing, the 2nd condition will not satisfy, correct? So, in this case > will the alert resolve? > > -- > 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/3d859fbf-c188-435e-8bb1-a402410424a3%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/3d859fbf-c188-435e-8bb1-a402410424a3%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/CAKimyZv9t1rF_rrETEub9zcc8vv8h3t%2BtAz_ojoaQp5FKb14nQ%40mail.gmail.com.

