VictoriaMetrics/app/vmalert/config/testdata/dir/rules0-bad.rules
kreedom bf6c24d0f4
[vmalert] config parser ()
* [vmalert] config parser

* make linter be happy

* fix test

* fix sprintf add test for rule validation
2020-03-29 01:48:30 +02:00

20 lines
459 B
Plaintext

groups:
- name: group
rules:
- alert: InvalidAnnotations
for: 5m
expr: vm_rows > 0
labels:
label: bar
annotations:
summary: "{{ $value }"
description: "{{$labels}}"
- alert: UnkownAnnotationsFunction
for: 5m
expr: vm_rows > 0
labels:
label: bar
annotations:
summary: "{{ value|humanize }}"
description: "{{$labels}}"