Change threashold from 100 to 4000.

This commit is contained in:
Kazuhiro MUSASHI 2020-09-28 00:56:00 +09:00
parent b79d7ca578
commit 3b09f0a74f
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ groups:
# Alert threshold depends on nature of application. # Alert threshold depends on nature of application.
# Please read: https://github.com/samber/awesome-prometheus-alerts/issues/58 # Please read: https://github.com/samber/awesome-prometheus-alerts/issues/58
- alert: HostContextSwitching - 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 for: 5m
labels: labels:
severity: warning severity: warning