mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-15 16:30:55 +01:00
210c76b51e
* 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
|