VictoriaMetrics/app/vmalert-tool/unittest/testdata/failed-test-with-missing-rulefile.yaml
Hui Wang 000a918f38
app/vmalert-tool: print an error message if no rule group is found under 'rule_files'
Both vmalert and vmalert-tool support multiple `rule_files` and use
directory as a file, so it's ok if some files don't contain any rule
group. But vmalert-tool should warn the user if no rule group is found
in any of the `rule_files`.

Related issue:
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/7663
2024-11-29 10:29:04 +01:00

4 lines
50 B
YAML

rule_files:
- non-existing-file.yaml
tests: []