Change threashold from 100 to 4000.
This commit is contained in:
parent
b79d7ca578
commit
3b09f0a74f
|
@ -113,7 +113,7 @@ groups:
|
|||
# Alert threshold depends on nature of application.
|
||||
# Please read: https://github.com/samber/awesome-prometheus-alerts/issues/58
|
||||
- alert: HostContextSwitching
|
||||
expr: (rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 1000
|
||||
expr: (rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 4000
|
||||
for: 5m
|
||||
labels:
|
||||
severity: warning
|
||||
|
|
Loading…
Reference in New Issue