I had an idea. Now that there is the "keep_firing_for" feature, it would be 
possible to use this for alert hysteresis if you had a second expression to 
cancel the alert.

For example:

expr: disk_space_used > 0.8
keep_firing_for: 1d
cancel_expr: disk_space_used < 0.7

Then your alert starts firing at 80%, and stops firing at 70% (or after 1 
day if under 80%)

Anyway, I just thought the idea was worth a mention!

-- 
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 visit 
https://groups.google.com/d/msgid/prometheus-users/42b6f0d8-9852-4b23-ab46-e8f64a097bedn%40googlegroups.com.

Reply via email to