Skip to content
Snippets Groups Projects
Verified Commit 0794f65c authored by Christian Heusel's avatar Christian Heusel :rocket:
Browse files

prometheus: Disable the OOM alert for build hosts


There is not much value in knowing when one of our build hosts has no
more memory left as all of them have plenty of swap available.
Additionally these rules trigger quite often even for short spikes.

Signed-off-by: default avatarChristian Heusel <christian@heusel.eu>
parent f7078b51
No related branches found
No related tags found
1 merge request!908prometheus: Move the OOM alert for build hosts to a longer timeframe
......@@ -21,7 +21,7 @@ groups:
description: "Swap is filling up (>80%)\n VALUE = {{ $value }}\n LABELS: {{ $labels }}"
- alert: HostOutOfMemory
expr: node_memory_MemAvailable_bytes / node_memory_MemTotal_bytes * 100 < 10
expr: node_memory_MemAvailable_bytes{instance!~"build.archlinux.org",instance!~"repro3.pkgbuild.com",instance!~"repro2.pkgbuild.com"} / node_memory_MemTotal_bytes * 100 < 10
for: 5m
labels:
severity: warning
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment