mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-29 23:30:04 +01:00
7789c47e41
Signed-off-by: Andrii Chubatiuk <andrew.chubatiuk@gmail.com>
26 lines
732 B
Plaintext
26 lines
732 B
Plaintext
groups:
|
|
- name: groupGorSingleAlert
|
|
params:
|
|
nocache: ["1"]
|
|
denyPartialResponse: ["true"]
|
|
rules:
|
|
- alert: VMRows
|
|
for: 10s
|
|
expr: vm_rows > 0
|
|
labels:
|
|
label: bar
|
|
host: "{{ $labels.instance }}"
|
|
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) |