mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-12-21 07:56:26 +01:00
3dbdf1632e
Prometheus allows to have groups with no rules, so we should support it in vmalert as well for compatibility reasons. It is also allowed to hot-reload empty groups by adding or removing rules. Signed-off-by: hagen1778 <roman@victoriametrics.com>
8 lines
123 B
Plaintext
8 lines
123 B
Plaintext
groups:
|
|
- name: TestEmptyRules
|
|
interval: 2s
|
|
concurrency: 2
|
|
rules:
|
|
|
|
- name: TestNoRules
|
|
type: prometheus |