Alert rule expression for inside range and outside range

5 views
Skip to first unread message

EnthuDeveloper

unread,
Apr 15, 2020, 10:16:13 AM4/15/20
to Prometheus Developers
Hello,
We have to support 2 simple use cases wherein user can say raise an alert if the metric value at runtime is within range or outside the range. For that , they would provide us the lower limit and upper limit values.

So instead of coding the expression to be,
Metric >= low && metric <= high

Wondering , if prometheus offers a standard range function to cover both in range and outside range use cases?


Thanks.

Reply all
Reply to author
Forward
0 new messages