From 60436daf18641c367d9609dc049374a39e91d447 Mon Sep 17 00:00:00 2001 From: Joe Lei Date: Tue, 18 Feb 2020 10:51:59 +0800 Subject: [PATCH] fix prometheus ruler expr Signed-off-by: Joe Lei --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 516f715..09fc116 100644 --- a/README.md +++ b/README.md @@ -296,7 +296,7 @@ To get you started, here's a rule that will trigger an alert if there are any no ```yaml alert: goldpinger_nodes_unhealthy expr: sum(goldpinger_nodes_health_total{status="unhealthy"}) - BY (goldpinger_instance) > 0 + BY (instance, goldpinger_instance) > 0 for: 5m annotations: description: |