From 3faf1332a15f5291fa7c3feba08342866eeef051 Mon Sep 17 00:00:00 2001 From: Samuel Berthe Date: Thu, 9 Jun 2022 00:43:40 +0200 Subject: [PATCH] fix: PrometheusAllTargetsMissing (#283) --- _data/rules.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_data/rules.yml b/_data/rules.yml index 821cb6a..6e11c96 100644 --- a/_data/rules.yml +++ b/_data/rules.yml @@ -23,7 +23,7 @@ groups: severity: critical - name: Prometheus all targets missing description: A Prometheus job does not have living target anymore. - query: 'count by (job) (up) == 0' + query: 'sum by (job) (up) == 0' severity: critical - name: Prometheus configuration reload failure description: Prometheus configuration reload error