mirror of
https://github.com/prometheus/node_exporter.git
synced 2025-01-12 06:17:31 -08:00
alerts: exclude iowait from NodeCPUHighUsage alert (#3203)
Signed-off-by: Jan Breitkopf <jan.breitkopf@prorocketeers.com>
This commit is contained in:
parent
2604d19246
commit
a38a5d7b48
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue