VictoriaMetrics/app/vmalert/datasource
Roman Khavronenko 8441375da2
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:25:43 +03:00
..
datasource.go vmalert: add debug mode for alerting rules (#3055) 2022-09-13 16:25:43 +03:00
datasource_test.go vmalert: support rules backfilling (aka replay) (#1358) 2021-06-09 12:20:38 +03:00
init.go vmalert: follow-up after 28441711e6 (#2972) 2022-08-11 13:30:32 +02:00
vm.go vmalert: add debug mode for alerting rules (#3055) 2022-09-13 16:25:43 +03:00
vm_graphite_api.go vmalert: introduce additional HTTP URL params per-group configuration (#1892) 2021-12-02 14:45:08 +02:00
vm_prom_api.go vmalert: remove a line added for debug (#2611) 2022-05-18 14:57:58 +02:00
vm_test.go vmalert: remove dependency on datasource pkg from config (#2905) 2022-07-22 10:44:55 +02:00