2564208ca8394edf20451ce3146ac1b59e0da0c5
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>
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%