1% threshold

This commit is contained in:
Seth Call 2026-01-07 19:39:26 -06:00
parent 159ffb3a42
commit fa516f9f2f
1 changed files with 2 additions and 2 deletions

View File

@ -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\" {{ "}}" }}%)"