VictoriaMetrics/lib/promscrape/discovery/consul
Zakhar Bessarab 40d524edb8
discovery/{consul,nomad}: fix cancelling serviceWatcher in-flight requests (#3658)
* lib/promscrape/discovery/{consul,nomad}: fix background service update watches not canceling requests on serviceWatcher stop

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

* lib/promscrape/discovery/{consul,nomad}: fix closing serviseWatcher during scrape job restart

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>

* wip

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3468

Signed-off-by: Zakhar Bessarab <z.bessarab@victoriametrics.com>
Co-authored-by: Aliaksandr Valialkin <valyala@victoriametrics.com>
2023-01-17 21:47:51 -08:00
..
agent_test.go lib/promscrape: add Prometheus-compatible service discovery for Consul aka consul_sd_configs 2020-05-04 20:53:06 +03:00
agent.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:33:46 +03:00
api.go discovery/{consul,nomad}: fix cancelling serviceWatcher in-flight requests (#3658) 2023-01-17 21:47:51 -08:00
consul.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
service_node_test.go lib/promscrape/discovery/consul: expose service tags in individual labels __meta_consul_tag_<tagname> 2022-12-19 13:02:56 -08:00
service_node.go lib/promscrape/discovery/consul: expose service tags in individual labels __meta_consul_tag_<tagname> 2022-12-19 13:02:56 -08:00
watch.go discovery/{consul,nomad}: fix cancelling serviceWatcher in-flight requests (#3658) 2023-01-17 21:47:51 -08:00