This page 
<https://prometheus.io/docs/prometheus/latest/configuration/alerting_rules/> 
says: 
"The $value variable holds the evaluated value of an alert instance."

It would be great if this also included a more explicit definition, because 
this definition isn't obvious to me. For example, if I have:


expr: sum(increase(some_counter[3h])) by (foo) < 1


Which part of this is the $value? It can't be the entire expression, 
because that's just a boolean value. Is it everything to the left of the 
comparison operator?


-- 
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/bad0ec41-d473-450a-85d2-03b0fd5ccd3c%40googlegroups.com.

Reply via email to