mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-20 23:46:23 +01:00
195341a7cf
* init implementation for graphite alerts * adds graphite support for vmalert * small fix * changes vmalert graphite api with type * updates tests * small fix * fixes graphite parse * Fixes graphite from time
12 lines
410 B
Plaintext
12 lines
410 B
Plaintext
groups:
|
|
- name: TestGraphiteBadGroup
|
|
interval: 2s
|
|
concurrency: 2
|
|
type: graphite
|
|
rules:
|
|
- alert: Conns
|
|
expr: filterSeries(sumSeries(host.receiver.interface.cons),'last','>', 500) by instance
|
|
for: 3m
|
|
annotations:
|
|
summary: Too high connection number for {{$labels.instance}}
|
|
description: "It is {{ $value }} connections for {{$labels.instance}}" |