VictoriaMetrics/lib/promscrape/discovery
Aliaksandr Valialkin 15dda54e79
lib/promscrape/discovery/kubernetes: propagate possible errors at newAPIWatcher() to the caller
This allows substituting FATAL panics with recoverable runtime errors such as missing or invalid TLS CA file
and/or missing/invalid /var/run/secrets/kubernetes.io/serviceaccount/namespace file.
Now these errors are logged instead of PANIC'ing, so they can be fixed by updating the corresponding files
without the need to restart vmagent.

This is a follow-up for 90427abc65
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/pull/5243
2023-10-27 20:27:58 +02:00
..
azure lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
consul do not print redundant error logs when failed to scrape consul or no… (#5239) 2023-10-27 14:18:47 +02:00
consulagent lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
digitalocean all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-26 09:44:40 +02:00
dns lib/promauth: follow-up for e16d3f5639 2023-10-26 09:55:47 +02:00
docker lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
dockerswarm lib/promauth: follow-up for e16d3f5639 2023-10-26 09:55:47 +02:00
ec2 Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:25:49 +02:00
eureka lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
gce Makefile: update golangci-lint from v1.51.2 to v1.54.2 2023-09-01 10:25:49 +02:00
http all: consistently use %w instead of %s in when error is passed to fmt.Errorf() 2023-10-26 09:44:40 +02:00
kubernetes lib/promscrape/discovery/kubernetes: propagate possible errors at newAPIWatcher() to the caller 2023-10-27 20:27:58 +02:00
kuma lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
nomad do not print redundant error logs when failed to scrape consul or no… (#5239) 2023-10-27 14:18:47 +02:00
openstack lib/promauth: follow-up for e16d3f5639 2023-10-26 09:55:47 +02:00
yandexcloud lib/promauth: follow-up for e16d3f5639 2023-10-26 09:55:47 +02:00