VictoriaMetrics/lib/promscrape/discovery
Roman Khavronenko 5a4b16794d
Consul SD - update services on the watcher's start (#2202)
* lib/discovery/consul: update services on the watcher's start

Previously, watcher's start was only initing goroutines for discovery
but not waiting for the first iteration to end. It means first Consul
discovery wasn't returning discovered targets until the next iteration.

The change makes the watcher's start blocking until we get first discovery
iteration done and all registries updated.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* vmalert: remove workarounds for consul SD

Now when consul SD lib properly updates services
on the first start, we don't need workarounds in vmalert.

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* lib/discovery/consul: update after review

Signed-off-by: hagen1778 <roman@victoriametrics.com>

* wip

Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2022-02-21 15:33:33 +02: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 app/{vminsert,vmagent}: hide passwords and auth tokens by default at /config page 2021-11-05 14:42:13 +02:00
eureka lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:24:22 +03:00
gce Show gce sdconfig zone on vmagent:8429/config (#2178) 2022-02-12 00:48:38 +02: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: add __meta_kubernetes_endpointslice_{label,annotation}* labels to be consistent with other role values for Kubernetes service discovery 2022-02-11 14:56:10 +02:00
openstack fixes all_tenants query option usage for openstack service discovery (#2184) 2022-02-14 13:13:03 +02:00