VictoriaMetrics/lib/promscrape/discovery
Roman Khavronenko 7406665fc3
lib/promscrape/discovery/kubernetes: fixes kubernetes service discovery (#2615)
* lib/promscrape/discovery/kubernetes: properly updates discovered scrape works
previously, added or updated scrapeworks may override previuosly
discovered.
it happens because swosByKey may contain small subset of kubernetes
objects with it's labels.
It happens for objectsUpdated and objectsAdded maps, which include only changed elements

* Properly calculate vm_promscrape_discovery_kubernetes_scrape_works

Co-authored-by: f41gh7 <nik@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-05-21 01:17:21 +03:00
..
consul Consul SD - update services on the watcher's start (#2202) 2022-02-21 15:33:33 +02:00
digitalocean lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:24:22 +03:00
dns lib/promscrape: consistently sort service discovery routines 2021-06-25 13:22:16 +03:00
docker lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:24:22 +03:00
dockerswarm lib/promscrape/discovery/dockerswarm: follow up after 68a117a25a 2022-01-11 09:22:03 +02:00
ec2 Add ability to sign requests for all AWS services (#2604) 2022-05-20 14:20:00 +03:00
eureka lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:24:22 +03:00
gce lib/promscrape: properly implement ScrapeConfig.clone() 2022-05-07 00:06:19 +03:00
http lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:24:22 +03:00
kubernetes lib/promscrape/discovery/kubernetes: fixes kubernetes service discovery (#2615) 2022-05-21 01:17:21 +03:00
openstack fixes all_tenants query option usage for openstack service discovery (#2184) 2022-02-14 13:13:03 +02:00