Commit 04dda515 authored by Tobias Schmidt's avatar Tobias Schmidt Committed by GitHub

Merge pull request #554 from mpalmer/update-visualization-template-example

Bring visualization template example up-to-date
parents f9fc66a9 890fc664
...@@ -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