VictoriaMetrics/lib/promscrape/discovery
Aliaksandr Valialkin fe084fdd33 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:37:07 +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:58 +03:00
dns lib/promscrape: explicitly stop and cleanup service discovery routines when new config is read from -promscrape.config 2021-03-01 14:15:16 +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:58 +03:00
ec2 Adds aws ECS credentials support (#1175) 2021-04-02 13:11:03 +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:58 +03:00
gce lib/promscrape: explicitly stop and cleanup service discovery routines when new config is read from -promscrape.config 2021-03-01 14:15:16 +02:00
kubernetes lib/promscrape/discovery/kubernetes: synchronously load Kubernetes objects on first access 2021-04-05 14:37:07 +03:00
openstack lib/promscrape: add support for authorization config in -promscrape.config as Prometheus 2.26 does 2021-04-02 21:20:37 +03:00