Commit 10efc0e0 authored by Tobias Schmidt's avatar Tobias Schmidt

Improve alerting exmaple based on severity

It should be alertmanager's responsibility how to route alerts and which
receiver to use. Alerts should only provide all necessary information,
but not describe the receiver of an alert. As this might not be true in
all cases, it can quickly create confusion.
parent f3a6734b
...@@ -74,7 +74,7 @@ Examples: ...@@ -74,7 +74,7 @@ Examples:
ALERT InstanceDown ALERT InstanceDown
IF up == 0 IF up == 0
FOR 5m FOR 5m
LABELS { severity = "page" } LABELS { severity = "critical" }
ANNOTATIONS { ANNOTATIONS {
summary = "Instance {{ $labels.instance }} down", summary = "Instance {{ $labels.instance }} down",
description = "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 5 minutes.", description = "{{ $labels.instance }} of job {{ $labels.job }} has been down for more than 5 minutes.",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment