On Thursday, 7 May 2020 13:37:43 UTC+1, piyush sharma wrote:
>
>
> Actually when there is an alerting situation , I get an alert on slack 
> with the alerting value .
> But after sometime when alert is resolved , I still get the old value 
> which is below the threshold ( ideally should be in alerting state) but 
> still I get notification as resolved
>

This one has been answered recently on the group:
https://groups.google.com/d/topic/prometheus-users/LLsPBIvLIME/discussion

but hopefully from what you've just learned you'll understand why.

An expression "foo > 90" has the value 93, when foo has the value 93

An expression "foo > 90" has no value, when foo has the value 85

So in an alerting rule,

expr: foo > 90

will have no value when the metric drops below 90, and so prometheus stops 
generating alerts.  Therefore there is no value for alertmanager to report. 
All it can tell you is that an alert which *was* firing, is no longer 
firing; and it can tell you the labels and annotations the alert had when 
it was last active.

-- 
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 prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/f607c378-8e01-4be7-b46e-8b0906619ebb%40googlegroups.com.

Reply via email to