Fix wrong syntax for alert field templates (#3883)

This commit is contained in:
Jeffrey Zhang 2018-02-24 17:37:43 +08:00 committed by Brian Brazil
parent 99006d3baf
commit 21f96caab3

View file

@ -20,8 +20,8 @@ for: 5m
labels: labels:
- severity: page - severity: page
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."
``` ```
Alert field templates will be executed during every rule iteration for each Alert field templates will be executed during every rule iteration for each