mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-26 20:30:10 +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
14 lines
280 B
Plaintext
14 lines
280 B
Plaintext
groups:
|
|
- name: TestUpdateGroup
|
|
interval: 2s
|
|
concurrency: 2
|
|
type: prometheus
|
|
rules:
|
|
- alert: up
|
|
expr: up == 0
|
|
for: 30s
|
|
- alert: up graphite
|
|
expr: filterSeries(time('host.1',20),'>','0')
|
|
for: 30s
|
|
type: graphite
|