VictoriaMetrics/app/vmalert
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
..
config app/vmalert/config: fix flacky test TestParseBad 2023-10-26 09:53:40 +02:00
datasource docs: update -help output after recent changes to VictoriaMetrics components 2023-11-02 20:27:16 +01:00
deployment app/vmalert: include it into the next release 2020-04-28 00:11:41 +03:00
multiarch all: run apk update && apk upgrade in base Alpine Docker image in order to get all the recent security fixes 2023-02-09 14:03:02 -08:00
notifier app/vmalert/notifier: remove backticks from the description for -notifier.blackhole command-line flag 2023-11-22 20:17:45 +02:00
remoteread fixed typos in documentation and commandline flags descriptions (#4275) 2023-05-10 02:22:06 -07:00
remotewrite app/vmalert: update remote-write process (#5284) 2023-11-13 09:25:29 +01:00
rule 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
static app/vmalert: show on UI groups error after reload config (#4543) 2023-07-06 22:11:36 -07:00
templates app/vmalert: add support of recursive path globs for rules and templates (#4148) 2023-05-08 16:22:30 -07:00
tpl app/vmalert: show on UI groups error after reload config (#4543) 2023-07-06 22:11:36 -07:00
utils Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:25:49 +02:00
main.go docs: update -help output after recent changes to VictoriaMetrics components 2023-11-02 20:27:16 +01:00
main_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
Makefile vmalert: revert accidental changes to Makefile rule 2023-07-27 12:58:26 -07:00
manager.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
manager_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
README.md docs: convert png images to webp in all the docs except of docs/operator/* 2023-11-22 19:29:47 +02:00
replay.go all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-26 09:44:40 +02:00
replay_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
web.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
web.qtpl vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
web.qtpl.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00
web_test.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
web_types.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
web_types_test.go vmalert-tool: implement unittest (#4789) 2023-10-16 14:12:06 +02:00

See vmalert docs here.

vmalert docs can be edited at docs/vmalert.md.