From 9e95563a978048fededbb369db42f9f2aa68257b Mon Sep 17 00:00:00 2001 From: Jelle van der Waa <jelle@archlinux.org> Date: Sat, 4 Dec 2021 11:07:11 +0100 Subject: [PATCH] Bump CPU highload to 10 minutes --- roles/prometheus/files/node.rules.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/prometheus/files/node.rules.yml b/roles/prometheus/files/node.rules.yml index 403975322..5bdbb64df 100644 --- a/roles/prometheus/files/node.rules.yml +++ b/roles/prometheus/files/node.rules.yml @@ -3,8 +3,8 @@ groups: interval: 60s rules: - alert: HostHighCpuLoad - expr: 100 - (avg by(instance) (irate(node_cpu_seconds_total{mode="idle",instance!~"build.archlinux.org",instance!~"repro1.pkgbuild.com",instance!~"repro2.pkgbuild.com",instance!~"runner2.archlinux.org",instance!~"runner1.archlinux.org"}[5m])) * 100) > 90 - for: 5m + expr: 100 - (avg by(instance) (irate(node_cpu_seconds_total{mode="idle",instance!~"build.archlinux.org",instance!~"repro1.pkgbuild.com",instance!~"repro2.pkgbuild.com",instance!~"runner2.archlinux.org",instance!~"runner1.archlinux.org"}[10m])) * 100) > 90 + for: 10m labels: severity: warning annotations: -- GitLab