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
1 changed files with 2 additions and 2 deletions

View File

@ -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