dualfroz 2564208ca8 fix #5997: metrics: influxdb: fall back to the ready endpoint in connection test
The connection test for InfluxDB over HTTP(S) queries the '/health'
endpoint. The InfluxDB v2 listener of Telegraf only has it since
version 1.36, older versions only provide '/api/v2/ready'. So adding
such a listener as metric server fails with '404 Not Found', although
writing metrics to it would work.

If '/health' is not found, query '/api/v2/ready' instead. Other errors,
like an invalid token, are still reported right away.

Signed-off-by: Michal Fox <me@dualfroz.com>
2026-10-03 03:24:10 +02:00
S
Description
My contributions to proxmox-git/pve-manager: 31 commits
206 KiB
0 Stars 1 Watchers 0 Forks
Languages
JavaScript 64.8%
Perl 34.9%
Makefile 0.3%