mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-20 23:46:23 +01:00
12fe915b48
* [vmalert] add prometheus template function * make linter be happy Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
13 lines
252 B
Plaintext
13 lines
252 B
Plaintext
groups:
|
|
- name: groupGorSingleAlert
|
|
rules:
|
|
- alert: VMRows
|
|
for: 5m
|
|
expr: vm_rows > 0
|
|
labels:
|
|
label: bar
|
|
annotations:
|
|
summary: "{{ $value|humanize }}"
|
|
description: "{{$labels}}"
|
|
|