VictoriaMetrics/lib/promscrape/discovery
Aliaksandr Valialkin f010d773d6 lib/promscrape/discovery/kubernetes: synchronously load Kubernetes objects on first access
Remove async registration of apiWatchers, since it breaks discovering `role: endpoints` and `role: endpointslices` targets,
which depend on pod and service objects.

There is no need in reloading `endpoints` and `endpointslices` targets if the referenced `pod` or `service` objects change,
since in this case the corresponding `endpoints` and `endpointslices` objects should also change because they contain
ResourceVersion of the referenced `pod` or `service` objects, which is modified on object update.

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/1182
2021-04-05 14:20:12 +03:00
..
consul lib/promscrape: support for simple HTTP proxies without CONNECT method support such as https://github.com/prometheus-community/PushProx 2021-04-04 00:40:40 +03:00
dns lib/promscrape: explicitly stop and cleanup service discovery routines when new config is read from -promscrape.config 2021-03-01 14:14:00 +02:00
dockerswarm lib/promscrape: support for simple HTTP proxies without CONNECT method support such as https://github.com/prometheus-community/PushProx 2021-04-04 00:40:40 +03:00
ec2 Adds aws ECS credentials support (#1175) 2021-04-02 11:56:40 +03:00
eureka lib/promscrape: support for simple HTTP proxies without CONNECT method support such as https://github.com/prometheus-community/PushProx 2021-04-04 00:40:40 +03:00
gce lib/promscrape: explicitly stop and cleanup service discovery routines when new config is read from -promscrape.config 2021-03-01 14:14:00 +02:00
kubernetes lib/promscrape/discovery/kubernetes: synchronously load Kubernetes objects on first access 2021-04-05 14:20:12 +03:00
openstack lib/promscrape: add support for authorization config in -promscrape.config as Prometheus 2.26 does 2021-04-02 21:17:45 +03:00