Commit 890fc664 authored by Matt Palmer's avatar Matt Palmer

Bring visualization template example up-to-date

parent f9fc66a9
...@@ -16,11 +16,13 @@ data, etc. The Prometheus templating language is based on the ...@@ -16,11 +16,13 @@ data, etc. The Prometheus templating language is based on the
ALERT InstanceDown ALERT InstanceDown
IF up == 0 IF up == 0
FOR 5m FOR 5m
WITH { LABELS {
severity="page" severity="page"
} }
SUMMARY "Instance {{$labels.instance}} down" ANNOTATIONS {
DESCRIPTION "{{$labels.instance}} of job {{$labels.job}} has been down for more than 5 minutes." summary = "Instance {{$labels.instance}} down",
description = "{{$labels.instance}} of job {{$labels.job}} has been down for more than 5 minutes.",
}
Alert field templates will be executed during every rule iteration for each Alert field templates will be executed during every rule iteration for each
......
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