Hi @lucazago! You should be able to do this using a single alert rule and a templated severity
label in v9.1.2.
Assuming a pretty standard setup of A: Query, B: Reduce expression, C: Math expression
then the label would look something like this:
severity={{if gt $values.B.Value 2.0 }}critical{{else}}warning{{end}}
Notes:
- Pay particular attention to the decimal precision of the
2.0
, GO is particular about its types and just using2
could cause an error. - If using a classic condition in v9.1.2, the variable would instead be
$values.B0.Value