mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-22 01:17:19 +08:00
data: adding rule "Host CPU high iowait"
This commit is contained in:
parent
88c47ff7f8
commit
b36ea8f45d
1 changed files with 4 additions and 0 deletions
|
|
@ -202,6 +202,10 @@ groups:
|
|||
description: CPU steal is > 10%. A noisy neighbor is killing VM performances or a spot instance may be out of credit.
|
||||
query: 'avg by(instance) (rate(node_cpu_seconds_total{mode="steal"}[5m])) * 100 > 10'
|
||||
severity: warning
|
||||
- name: Host CPU high iowait
|
||||
description: CPU iowait > 5%. A high iowait means that you are disk or network bound.
|
||||
query: 'avg by (instance) (rate(node_cpu_seconds_total{mode="iowait"}[5m])) * 100 > 5'
|
||||
severity: warning
|
||||
- name: Host context switching
|
||||
description: Context switching is growing on node (> 1000 / s)
|
||||
query: '(rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 1000'
|
||||
|
|
|
|||
Loading…
Reference in a new issue