fix prometheus ruler expr

Signed-off-by: Joe Lei <thezero12@hotmail.com>
This commit is contained in:
Joe Lei
2020-02-18 10:59:43 +08:00
committed by joelei
parent 618369f540
commit 60436daf18
+1 -1
View File
@@ -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: |