VictoriaMetrics/lib/promscrape/discovery
Roman Khavronenko 69d1893f4c
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:32:45 +02:00
..
consul Consul SD - update services on the watcher's start (#2202) 2022-02-21 15:32:45 +02:00
digitalocean lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
dns lib/promscrape: consistently sort service discovery routines 2021-06-25 12:10:46 +03:00
docker lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
dockerswarm lib/promscrape/discovery/dockerswarm: follow up after 68a117a25a 2022-01-11 09:20:10 +02:00
ec2 app/{vminsert,vmagent}: hide passwords and auth tokens by default at /config page 2021-11-05 14:41:16 +02:00
eureka lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +03:00
gce Show gce sdconfig zone on vmagent:8429/config (#2178) 2022-02-12 00:39:23 +02:00
http lib/promscrape: properly show proxy_url option value at /config page 2021-10-26 21:23:54 +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:54:47 +02:00
openstack fixes all_tenants query option usage for openstack service discovery (#2184) 2022-02-14 13:07:30 +02:00