probe_success 和 up 之间的区别? [英] Difference between probe_success and up?
问题描述
probe_success
和 up
有什么区别?
我看到各种示例,其中基于其中任何一个(例如站点关闭、实例关闭)完成警报.我错过了什么吗?
I see various examples where alerting is done based on either of them (eg. site down, instance down). Am I missing something?
推荐答案
up
指示 Prometheus 是否可以与目标对话并成功抓取目标,例如黑盒导出器.
up
indicates whether Prometheus could talk to and successfully scrape a target, such as the blackbox exporter.
probe_success
是黑盒导出器公开的指标,指示探测是否成功.
probe_success
is a metric exposed by the blackbox exporter indicating if a probe succeeded.
对于警报,您需要两者,就像黑盒导出器关闭或超时一样,由 up
指示,如果探测本身失败,则由 probe_success指示代码>.
For alerting you need both, as if the blackbox exporter is down or timing out then that's indicated by up
and if the probe itself is failing that'll be indicated by probe_success
.
这篇关于probe_success 和 up 之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!