VictoriaMetrics/app
Roman Khavronenko 87e4e76537
vmalert: support /rules path for Grafana's ngalert requests (#2593)
Unexpectedly, Grafana makes an extra request to `/rules`
handler in addition to `/api/v1/rules` calls in alerts UI.
This happens only for Grafana versions older than 8.5.*.
Apparently, this is related to support of other monitoring
systems.
Prometheus responds with `text/html` content for UI page `/rules`
to such requests. Actually, returning just a blank page with
SC=200 works as well.

Returning actual response of `/api/v1/rules`
results in error in Grafana since it expects a `yaml` (?) in response.
So we add a placeholder to `vmalert`.

https://github.com/VictoriaMetrics/VictoriaMetrics/issues/2583
Signed-off-by: hagen1778 <roman@victoriametrics.com>
2022-05-20 13:53:55 +03:00
..
vmagent app/{vmagent,vminsert}: mention port 8089 instead of 8189 in the description for -influxListenAddr flag 2022-05-13 16:59:16 +03:00
vmalert vmalert: support /rules path for Grafana's ngalert requests (#2593) 2022-05-20 13:53:55 +03:00
vmauth lib/httpserver: clarify that -tls flag enables TLS for http requests to -httpListenAddr 2022-04-16 16:59:41 +03:00
vmbackup vmbackup: Prevent save backups to the same folder where TSDB data is (#2547) 2022-05-06 18:04:58 +03:00
vmbackupmanager docs: add flags list to vmbackupmanager (#2554) 2022-05-09 15:26:24 +03:00
vmctl vmctl: make linter happy (#2578) 2022-05-13 16:59:16 +03:00
vmgateway app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vminsert app/{vmagent,vminsert}: mention port 8089 instead of 8189 in the description for -influxListenAddr flag 2022-05-13 16:59:16 +03:00
vmrestore app: sync Markdown changes from a8de1ab000 2022-03-22 14:12:03 +02:00
vmselect vmui: setup predefined dashboards without build (#2541) 2022-05-20 13:46:19 +03:00
vmstorage app/vmstorage: do not allow to set -retentionPeriod smaller than one day 2022-05-07 00:54:42 +03:00
vmui fix: change get display type (#2553) 2022-05-20 13:47:44 +03:00