VictoriaMetrics/app/vmalert/config
Roman Khavronenko a887c1bc07
vmalert: add debug mode for alerting rules (#3055)
* vmalert: add `debug` mode for alerting rules

Debug information includes alerts state changes and requests
sent to the datasource. Debug can be enabled only on rule's
level. It might be useful for debugging unexpected
behaviour of alerting rule.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3025

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: review fixes

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* Update app/vmalert/alerting.go

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>

* vmalert: go fmt

Signed-off-by: hagen1778 <roman@victoriametrics.com>

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-09-13 16:36:30 +03:00
..
testdata vmalert: add debug mode for alerting rules (#3055) 2022-09-13 16:36:30 +03:00
config_test.go vmalert: add debug mode for alerting rules (#3055) 2022-09-13 16:36:30 +03:00
config.go vmalert: add debug mode for alerting rules (#3055) 2022-09-13 16:36:30 +03:00
types.go vmalert: remove dependency on datasource pkg from config (#2905) 2022-07-22 13:38:25 +03:00