mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
5321127add
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
No EOL
123 B
Text
8 lines
No EOL
123 B
Text
groups:
|
|
- name: TestEmptyRules
|
|
interval: 2s
|
|
concurrency: 2
|
|
rules:
|
|
|
|
- name: TestNoRules
|
|
type: prometheus |