VictoriaMetrics/lib/promscrape/discovery
Nikolay ae85b20c5b
lib/promscrape/k8s_sd: set resourceVersion to 0 by default for watch … (#4901)
* lib/promscrape/k8s_sd: set resourceVersion to 0 by default for watch requests
it must reduce load for kubernetes ETCD servers. Since requests without resourceVersion performs force cache sync at kubernetes API server with ETCD
more info at https://kubernetes.io/docs/reference/using-api/api-concepts/\#semantics-for-watch
https://github.com/VictoriaMetrics/VictoriaMetrics/issues/4855

* wip

---------

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-08-30 16:04:14 +02:00
..
azure lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
consul lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
consulagent lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
digitalocean lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
dns lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
docker lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
dockerswarm lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
ec2 lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
eureka lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
gce lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
http lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
kubernetes lib/promscrape/k8s_sd: set resourceVersion to 0 by default for watch … (#4901) 2023-08-30 16:04:14 +02:00
kuma lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
nomad lib/promscrape: disable support for service discovery and metrics scrape via http2 2023-07-06 16:04:31 -07:00
openstack lib/promscrape/discovery: close unused HTTP connections to service discovery servers 2023-07-27 14:47:55 -07:00
yandexcloud chore: Use http constants to replace numbers (#3846) 2023-02-22 18:59:32 -08:00