mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-26 20:30:10 +01:00
7c70dcbe3b
* adds external_label per group for vmalert https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1471
16 lines
312 B
Plaintext
16 lines
312 B
Plaintext
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
|