From 723d8b13f9ce4d4d393becee6142b7e02578281a Mon Sep 17 00:00:00 2001 From: Andreas Sommer Date: Fri, 23 Aug 2024 16:16:34 +0200 Subject: [PATCH] Ignore new `watchdog` collector of node-exporter --- CHANGELOG.md | 4 ++++ .../kaas/turtles/alerting-rules/node-exporter.rules.yml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6568648c..375fd9ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Assign alerts on core components directly to turtles. +### Fixed + +- Ignore new `watchdog` collector of node-exporter since our clusters will not have data for these devices and therefore the `node_scrape_collector_success` metric would be 0 + ## [4.10.0] - 2024-08-20 ### Changed diff --git a/helm/prometheus-rules/templates/kaas/turtles/alerting-rules/node-exporter.rules.yml b/helm/prometheus-rules/templates/kaas/turtles/alerting-rules/node-exporter.rules.yml index d9b8fb94..9dd77986 100644 --- a/helm/prometheus-rules/templates/kaas/turtles/alerting-rules/node-exporter.rules.yml +++ b/helm/prometheus-rules/templates/kaas/turtles/alerting-rules/node-exporter.rules.yml @@ -14,7 +14,7 @@ spec: annotations: description: '{{`NodeExporter Collector {{ $labels.collector }} on {{ $labels.instance }} is failed.`}}' opsrecipe: node-exporter-device-error/ - expr: node_scrape_collector_success{collector!~"conntrack|bonding|hwmon|powersupplyclass|mdadm|nfs|nfsd|tapestats|fibrechannel|nvme"} == 0 + expr: node_scrape_collector_success{collector!~"conntrack|bonding|hwmon|powersupplyclass|mdadm|nfs|nfsd|tapestats|fibrechannel|nvme|watchdog"} == 0 for: 5m labels: area: kaas