VictoriaMetrics/app/vmalert/config/testdata/rules
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
..
kube-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules-query-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules-replay-good.rules vmalert: followup for 76f05f8670 (#2706) 2022-06-09 08:58:25 +02:00
rules0-bad.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules0-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules1-bad.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules1-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules2-good.rules vmalert: add debug mode for alerting rules (#3055) 2022-09-13 16:25:43 +03:00
rules3-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules4-good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00
rules_interval_good.rules added reusable templates support (#2532) 2022-05-14 11:38:44 +02:00