Is it possible to write an alert rule that checks 2 or more metrics?
For example:
ALERT alert_name
IF metric1 == 1 & metric2 == 3
FOR 30s
LABELS { severity = "critical" }
ANNOTATIONS {
summary = "blablabla",
description = "blablabla",
}
Thanks!
Regards,
Sergey
--
You received this message because you are subscribed to the Google Groups "Prometheus Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-devel...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Expression 'metric_1 == value1 or metric_2 == value2' is working.
Expression 'metric_1 == value1 and metric_2 == value2' is not.
OR - working, AND - not.
Does anybody have an idea why this can happen?
Thanks!
Regards,
Sergey