VictoriaMetrics/app/vmalert/config
Nikolay Khramchikhin 764b3d4fda
changed vmalert behaviour (#738)
* VMAlert start with empty rules dir

There are some applications (operator for instance), that generates alerts configuration at runtime
and vmalert must start correctly without rules to support this behaviour.
Later application will add rules files and send SIGHUP to vmalert,
which will trigger reading rules files and start rules exectuion.

Removing rules files with SIGHUP signal must stop rules execution and
vmalert will wait for new rules.

* imports sorted

* added test cases for empty rules, removed blank line

* fixed imports conflict

* updated tests
2020-09-03 11:04:42 +03:00
..
testdata vmalert-537: allow name duplication for rules within one group. (#559) 2020-06-15 20:15:47 +01:00
config_test.go changed vmalert behaviour (#738) 2020-09-03 11:04:42 +03:00
config.go changed vmalert behaviour (#738) 2020-09-03 11:04:42 +03:00