mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-11 14:53:49 +00:00
7c70dcbe3b
* adds external_label per group for vmalert https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1471
15 lines
312 B
Text
15 lines
312 B
Text
groups:
|
|
- name: TestUpdateGroup
|
|
interval: 2s
|
|
concurrency: 2
|
|
type: prometheus
|
|
labels:
|
|
cluster: main
|
|
rules:
|
|
- alert: up
|
|
expr: up == 0
|
|
for: 30s
|
|
- alert: up graphite
|
|
expr: filterSeries(time('host.1',20),'>','0')
|
|
for: 30s
|
|
type: graphite
|