mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-22 16:36:27 +01:00
29 lines
611 B
Plaintext
29 lines
611 B
Plaintext
|
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}}"
|
||
|
|