mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-01 14:47:38 +00:00
23 lines
666 B
Text
23 lines
666 B
Text
|
groups:
|
||
|
- name: groupGorSingleAlert
|
||
|
rules:
|
||
|
- alert: VMRows
|
||
|
for: 10s
|
||
|
expr: vm_rows > 0
|
||
|
labels:
|
||
|
label: bar
|
||
|
template: "{{ $value|humanize }}"
|
||
|
annotations:
|
||
|
summary: "{{ $value|humanize }}"
|
||
|
description: "{{$labels}}"
|
||
|
|
||
|
- name: TestGroup
|
||
|
rules:
|
||
|
- alert: Conns
|
||
|
expr: sum(vm_tcplistener_conns) by(instance) > 1
|
||
|
annotations:
|
||
|
summary: "Too high connection number for {{$labels.instance}}"
|
||
|
description: "It is {{ $value }} connections for {{$labels.instance}}"
|
||
|
- alert: ExampleAlertAlwaysFiring
|
||
|
expr: sum by(job)
|
||
|
(up == 1)
|