VictoriaMetrics/app/vmalert/rule
Dmytro Kozlov a28cc6ebec
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 18:40:33 +03:00
..
alerting_test.go app/vmalert: verify alert name correctness in restore test 2023-11-02 15:28:39 +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 18:40:33 +03:00
group_test.go app/vmalert: fix typo in tests 2023-10-25 16:28:27 +02:00
group.go app/vmalert: update remote-write process (#5284) 2023-11-08 14:53:07 +08:00
recording_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +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 18:40:33 +03:00
rule_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +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 18:40:33 +03:00
test_helpers.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
utils_test.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00
utils.go vmalert-tool: implement unittest (#4789) 2023-10-13 13:54:33 +02:00