【发布时间】:2017-07-10 16:15:57
【问题描述】:
我知道 Prometheus 在警报语句中支持 and 和 unless:
https://www.robustperception.io/combining-alert-conditions/
是否支持or?我想编写一个警报,如果时间序列超过阈值或在给定时间段内不存在,则会触发。
【问题讨论】:
标签: prometheus
我知道 Prometheus 在警报语句中支持 and 和 unless:
https://www.robustperception.io/combining-alert-conditions/
是否支持or?我想编写一个警报,如果时间序列超过阈值或在给定时间段内不存在,则会触发。
【问题讨论】:
标签: prometheus
是的,or 是 Prometheus 运算符。见the docs。
【讨论】: