mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-21 07:56:26 +01:00
14 lines
372 B
Plaintext
14 lines
372 B
Plaintext
|
groups:
|
||
|
- name: groupTest
|
||
|
## default interval is 1min, eval_offset shouldn't be greater than interval
|
||
|
eval_offset: 2m
|
||
|
rules:
|
||
|
- alert: VMRows
|
||
|
for: 2s
|
||
|
expr: sum(rate(vm_http_request_errors_total[2s])) > 0
|
||
|
labels:
|
||
|
label: bar
|
||
|
host: "{{ $labels.instance }}"
|
||
|
annotations:
|
||
|
summary: "{{ $value }}"
|