mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
![kreedom](/assets/img/avatar_default.png)
* [vmalert] add prometheus template function * make linter be happy Co-authored-by: Aliaksandr Valialkin <valyala@gmail.com>
19 lines
456 B
Text
19 lines
456 B
Text
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|query }}"
|
|
description: "{{$labels}}"
|