alerts: exclude iowait from NodeCPUHighUsage alert (#3203)

Signed-off-by: Jan Breitkopf <jan.breitkopf@prorocketeers.com>
This commit is contained in:
Jan Breitkopf 2024-12-17 14:11:26 +01:00 committed by GitHub
parent 2604d19246
commit a38a5d7b48
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -312,7 +312,7 @@
{ {
alert: 'NodeCPUHighUsage', alert: 'NodeCPUHighUsage',
expr: ||| expr: |||
sum without(mode) (avg without (cpu) (rate(node_cpu_seconds_total{%(nodeExporterSelector)s, mode!="idle"}[2m]))) * 100 > %(cpuHighUsageThreshold)d sum without(mode) (avg without (cpu) (rate(node_cpu_seconds_total{%(nodeExporterSelector)s, mode!~"idle|iowait"}[2m]))) * 100 > %(cpuHighUsageThreshold)d
||| % $._config, ||| % $._config,
'for': '15m', 'for': '15m',
labels: { labels: {