There is my Prometheus alert rule
avg_over_time(metricName[1m]) > 100
After alert fired, when the metrci data missing for more than 1 minute, the alert will resolved.
Is there any way to stop the change of alert status?
There is my Prometheus alert rule
avg_over_time(metricName[1m]) > 100
After alert fired, when the metrci data missing for more than 1 minute, the alert will resolved.
Is there any way to stop the change of alert status?
You can do this by leveraging last_over_time() as in my answer here.
(Answering this old question because it's still a high ranking Google result)