Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果 API 在 99% 的情况下都不可用,我想在 Prometheus 中为 REST API 创建警报。我是普罗米修斯表达的新手。你能帮我创建一个表达式来触发这个警报吗?例如,如果我有一个跟踪 http 失败的计数器 failed_counter。请帮忙。
实施-slos-using-prometheus
您可以使用以下工具:SLO 生成器。
promtools SLO
该网站也可能会有所帮助:
令人敬畏的普罗米修斯警报
blackbox_exporter