VictoriaMetrics/app/vmalert/utils
Roman Khavronenko e9b977859b
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 10:26:13 +02:00
..
auth.go Issue-1824: added flags and different auth types support (#2287) 2022-03-10 13:09:12 +02:00
err_group_test.go Vmalert notifiers (#2744) 2022-06-18 09:11:37 +02:00
err_group.go Vmalert notifiers (#2744) 2022-06-18 09:11:37 +02:00
links.go vmalert: deprecate alert's status link (#2840) 2022-07-08 10:26:13 +02:00
metrics.go vmalert: support configuration file for notifiers (#2127) 2022-02-02 14:11:41 +02:00
tls_test.go Makefile: update golangci-lint from v1.29.0 to v1.40.1 2021-05-20 18:27:10 +03:00
tls.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00