VictoriaMetrics/app
Roman Khavronenko b74c001c92
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-16 10:00:24 +02:00
..
victoria-metrics lib/storage: leave the last sample per each discrete interval during the deduplicaton 2022-05-02 21:50:45 +03:00
vmagent app/{vmagent,vminsert}: mention port 8089 instead of 8189 in the description for -influxListenAddr flag 2022-05-13 16:50:45 +03:00
vmalert vmalert: support /rules path for Grafana's ngalert requests (#2593) 2022-05-16 10:00:24 +02:00
vmauth lib/httpserver: clarify that -tls flag enables TLS for http requests to -httpListenAddr 2022-04-16 16:59:26 +03:00
vmbackup vmbackup: Prevent save backups to the same folder where TSDB data is (#2547) 2022-05-06 18:04:09 +03:00
vmbackupmanager docs: add flags list to vmbackupmanager (#2554) 2022-05-08 12:18:39 +00:00
vmctl vmctl: make linter happy (#2578) 2022-05-13 09:55:27 +02:00
vmgateway app: sync Markdown changes from a8de1ab000 2022-03-22 14:11:18 +02:00
vminsert app/{vmagent,vminsert}: mention port 8089 instead of 8189 in the description for -influxListenAddr flag 2022-05-13 16:50:45 +03:00
vmrestore app: sync Markdown changes from a8de1ab000 2022-03-22 14:11:18 +02:00
vmselect vmui: setup predefined dashboards without build (#2541) 2022-05-16 09:42:37 +02:00
vmstorage Code check (#2558) 2022-05-09 10:11:56 +02:00
vmui fix: change get display type (#2553) 2022-05-16 09:44:13 +02:00