VictoriaMetrics/app/vmalert/rule
Dmytro Kozlov 6770bad207
app/vmalert: expose /vmalert/api/v1/rule and /api/v1/rule API which returns rule status in JSON format (#5397)
* app/vmalert: expose `/vmalert/api/v1/rule` and `/api/v1/rule` API which returns rule status in JSON format

* app/vmalert: hide updates if query param not set

* app/vmalert: fix panic (recursion call)

* app/vmalert: add needed group name and file name

* app/vmalert: fix comment, update behavior

* app/vmalert: fix description

* app/vmalert: simplify API for /api/v1/rule

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

* app/vmalert: simplify API for /api/v1/rule

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

* app/vmalert: simplify API for /api/v1/rule

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

* app/vmalert: simplify API for /api/v1/rule

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

* app/vmalert: simplify API for /api/v1/rule

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

---------

Signed-off-by: hagen1778 <roman@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
Co-authored-by: hagen1778 <roman@victoriametrics.com>
2023-12-04 22:49:39 +02:00
..
alerting_test.go app/vmalert: verify alert name correctness in restore test 2023-11-02 16:02:29 +01:00
alerting.go app/vmalert: expose /vmalert/api/v1/rule and /api/v1/rule API which returns rule status in JSON format (#5397) 2023-12-04 22:49:39 +02:00
group_test.go app/vmalert: fix typo in tests 2023-10-26 08:55:20 +02:00
group.go app/vmalert: update remote-write process (#5284) 2023-11-13 09:25:29 +01:00
recording_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
recording.go app/vmalert: expose /vmalert/api/v1/rule and /api/v1/rule API which returns rule status in JSON format (#5397) 2023-12-04 22:49:39 +02:00
rule_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
rule.go app/vmalert: expose /vmalert/api/v1/rule and /api/v1/rule API which returns rule status in JSON format (#5397) 2023-12-04 22:49:39 +02:00
test_helpers.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
utils_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
utils.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00