普罗米修斯检查度量标准是否消失

时间:2018-10-10 09:27:08

标签: prometheus prometheus-alertmanager

我希望根据某个指标发出警报,在我看来,该指标有时可能会消失 指标名称count_items如果数字<750000,则每10分钟返回一次数字;如果不存在指标,则触发警报=确定或指标计数> 750000 =确定 我做了

absent(count_items) != 0 unless count_items < 750000 - not working
absent(count_items) != 1 unless count_items > 750000 not working

请说出我的解决方法路径

这种方式行不通https://www.robustperception.io/existential-issues-with-metrics 普罗米修斯版本2

0 个答案:

没有答案