1% threshold
This commit is contained in:
parent
159ffb3a42
commit
fa516f9f2f
|
|
@ -10,10 +10,10 @@ spec:
|
|||
- name: node.alerts
|
||||
rules:
|
||||
- alert: NodeHighCPU
|
||||
expr: (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle"}[1m]))) * 100 > 20
|
||||
expr: (1 - avg without (cpu, mode) (rate(node_cpu_seconds_total{mode="idle"}[1m]))) * 100 > 1
|
||||
for: 1m
|
||||
labels:
|
||||
severity: warning
|
||||
annotations:
|
||||
summary: "High CPU usage on node {{ "{{" }} $labels.instance {{ "}}" }}"
|
||||
description: "Node {{ "{{" }} $labels.instance {{ "}}" }} has CPU usage above 20% (current value: {{ "{{" }} $value | printf \"%.2f\" {{ "}}" }}%)"
|
||||
description: "Node {{ "{{" }} $labels.instance {{ "}}" }} has CPU usage above 1% (current value: {{ "{{" }} $value | printf \"%.2f\" {{ "}}" }}%)"
|
||||
|
|
|
|||
Loading…
Reference in New Issue