mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
a531a96193
Signed-off-by: Andrii Chubatiuk <andrew.chubatiuk@gmail.com>
28 lines
611 B
Text
28 lines
611 B
Text
groups:
|
|
- name: group
|
|
rules:
|
|
- alert: InvalidExpr
|
|
for: 5m
|
|
expr: vm_rows{ > 0
|
|
labels:
|
|
label: bar
|
|
annotations:
|
|
summary: "{{ $value }}"
|
|
description: "{{$labels}}"
|
|
- alert: EmptyExpr
|
|
for: 5m
|
|
expr: ""
|
|
labels:
|
|
label: bar
|
|
annotations:
|
|
summary: "{{ $value }}"
|
|
description: "{{$labels}}"
|
|
- alert: ""
|
|
for: 5m
|
|
expr: vm_rows > 0
|
|
labels:
|
|
label: foo
|
|
annotations:
|
|
summary: "{{ $value }}"
|
|
description: "{{$labels}}"
|
|
|