Update rules.yml

This commit is contained in:
Samuel Berthe 2023-11-26 02:18:16 +01:00 committed by GitHub
parent 2ffde4f24c
commit a4de5323ad
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -241,7 +241,7 @@ groups:
severity: warning
for: 5m
- name: Host context switching
description: Context switching is growing on the node (> 10000 / s)
description: Context switching is growing on the node (> 10000 / CPU / s)
query: '((rate(node_context_switches_total[5m])) / (count without(cpu, mode) (node_cpu_seconds_total{mode="idle"})) > 10000) * on(instance) group_left (nodename) node_uname_info{nodename=~".+"}'
severity: warning
comments: |