Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
06dc748a
Verified
Commit
06dc748a
authored
Dec 04, 2021
by
Jelle van der Waa
🚧
Browse files
prometheus: exclude runner1 from high cpu warnings
parent
f7915fce
Pipeline
#13621
passed with stage
in 37 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
roles/prometheus/files/node.rules.yml
View file @
06dc748a
...
...
@@ -3,7 +3,7 @@ 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"}[5m])) * 100) >
90
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
labels
:
severity
:
warning
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment