mirror of
https://github.com/samber/awesome-prometheus-alerts.git
synced 2026-06-24 18:36:59 +08:00
Update rules.yml
This commit is contained in:
parent
5de0ee850b
commit
65a0f969be
1 changed files with 5 additions and 0 deletions
|
|
@ -230,6 +230,11 @@ groups:
|
||||||
description: CPU iowait > 5%. A high iowait means that you are disk or network bound.
|
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'
|
query: 'avg by (instance) (rate(node_cpu_seconds_total{mode="iowait"}[5m])) * 100 > 5'
|
||||||
severity: warning
|
severity: warning
|
||||||
|
- name: Host unusual disk IO
|
||||||
|
description: 'Time spent in IO is too high on {{ $labels.instance }}. Check storage for issues.'
|
||||||
|
query: 'rate(node_disk_io_time_seconds_total[1m]) > 0.5'
|
||||||
|
severity: warning
|
||||||
|
for: 5m
|
||||||
- name: Host context switching
|
- name: Host context switching
|
||||||
description: Context switching is growing on node (> 1000 / s)
|
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'
|
query: '(rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 1000'
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue