vmalert: docs update - status endpoint needs group ID, not group name (#1106)

This commit is contained in:
Alexandros Orfanos 2021-03-03 09:46:10 +02:00 committed by Aliaksandr Valialkin
parent 3a1d884618
commit ff5b8346d4

View File

@ -177,7 +177,7 @@ rules configuration.
`vmalert` runs a web-server (`-httpListenAddr`) for serving metrics and alerts endpoints:
* `http://<vmalert-addr>/api/v1/groups` - list of all loaded groups and rules;
* `http://<vmalert-addr>/api/v1/alerts` - list of all active alerts;
* `http://<vmalert-addr>/api/v1/<groupName>/<alertID>/status" ` - get alert status by ID.
* `http://<vmalert-addr>/api/v1/<groupID>/<alertID>/status" ` - get alert status by ID.
Used as alert source in AlertManager.
* `http://<vmalert-addr>/metrics` - application metrics.
* `http://<vmalert-addr>/-/reload` - hot configuration reload.