Browse Source

Fix wrong syntax for alert field templates (#3883)

pull/3887/head
Jeffrey Zhang 7 years ago committed by Brian Brazil
parent
commit
21f96caab3
  1. 4
      docs/configuration/template_examples.md

4
docs/configuration/template_examples.md

@ -20,8 +20,8 @@ for: 5m
labels:
- severity: page
annotations:
- summary: "Instance {{$labels.instance}} down"
- 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

Loading…
Cancel
Save