VictoriaMetrics/app/vmalert/utils
Roman Khavronenko b29fafa86b
vmalert: deprecate alert's status link (#2840)
* vmalert: deprecate alert's status link

Deprecate alert's status link `/api/v1/<groupID>/<alertID>/status` in favour of
`api/v1/alerts?group_id=<group_id>&alert_id=<alert_id>"`.

The change was needed for simplifying logic in vmselect for proxying vmalert's requests.

The old alert's status link will be still supported for a few versions but will be removed in the future.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2825
Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: fix review comments

Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-07-08 13:05:11 +03:00
..
auth.go Issue-1824: added flags and different auth types support (#2287) 2022-03-16 12:52:01 +02:00
err_group.go Vmalert notifiers (#2744) 2022-06-19 22:49:10 +03:00
err_group_test.go Vmalert notifiers (#2744) 2022-06-19 22:49:10 +03:00
links.go vmalert: deprecate alert's status link (#2840) 2022-07-08 13:05:11 +03:00
metrics.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 23:42:25 +02:00
tls.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
tls_test.go Makefile: update golangci-lint from v1.29.0 to v1.40.1 2021-05-20 18:30:24 +03:00