kube-prometheus: ensure triggering alerts on down targets
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
ALERT NodeExporterDown
|
||||
IF up{job="node-exporter"} == 0
|
||||
IF absent(up{job="node-exporter"} == 1)
|
||||
FOR 10m
|
||||
LABELS {
|
||||
severity = "warning"
|
||||
}
|
||||
ANNOTATIONS {
|
||||
summary = "node-exporter cannot be scraped",
|
||||
description = "Prometheus could not scrape a node-exporter for more than 10m.",
|
||||
description = "Prometheus could not scrape a node-exporter for more than 10m, or node-exporters have disappeared from discovery.",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user