mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-22 22:29:06 +01:00
prometheus, alertmanager: Add description to alert
This commit is contained in:
parent
2cd07d8581
commit
8855886547
2 changed files with 5 additions and 5 deletions
|
|
@ -89,7 +89,10 @@ in
|
|||
expr = "up == 0";
|
||||
for = "2m";
|
||||
labels.severity = "critical";
|
||||
annotations.summary = "{{ $labels.instance }} is DOWN";
|
||||
annotations = {
|
||||
summary = "{{ $labels.instance }} is DOWN";
|
||||
description = "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 2 minutes.";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue