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
791ca82b
Commit
791ca82b
authored
Dec 20, 2020
by
Matthias Loibl
Committed by
Jelle van der Waa
Jan 03, 2021
Browse files
Move pacman alerts into separate group in Prometheus
parent
2a90e215
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/prometheus/files/node.rules.yml
View file @
791ca82b
...
@@ -201,6 +201,9 @@ groups:
...
@@ -201,6 +201,9 @@ groups:
summary
:
"
Prometheus
TSDB
WAL
truncations
failed
(instance
{{
$labels.instance
}})"
summary
:
"
Prometheus
TSDB
WAL
truncations
failed
(instance
{{
$labels.instance
}})"
description
:
"
Prometheus
encountered
{{
$value
}}
TSDB
WAL
truncation
failures
\n
VALUE
=
{{
$value
}}
\n
LABELS:
{{
$labels
}}"
description
:
"
Prometheus
encountered
{{
$value
}}
TSDB
WAL
truncation
failures
\n
VALUE
=
{{
$value
}}
\n
LABELS:
{{
$labels
}}"
-
name
:
pacman
interval
:
1m
rules
:
-
alert
:
pacman_updates_pending
-
alert
:
pacman_updates_pending
expr
:
pacman_updates_pending >
50
expr
:
pacman_updates_pending >
50
for
:
1m
for
:
1m
...
@@ -233,7 +236,6 @@ groups:
...
@@ -233,7 +236,6 @@ groups:
-
name
:
systemd_unit
-
name
:
systemd_unit
interval
:
15s
interval
:
15s
rules
:
rules
:
-
alert
:
systemd_unit_failed
-
alert
:
systemd_unit_failed
expr
:
|
expr
:
|
node_systemd_unit_state{state="failed"} > 0
node_systemd_unit_state{state="failed"} > 0
...
...
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