VictoriaMetrics/lib/promscrape/discovery/consul
Zakhar Bessarab 322d96bfe5
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:11 -08:00
..
agent.go all: use %w instead of %s for wrapping errors in fmt.Errorf 2020-06-30 23:05:11 +03:00
agent_test.go lib/promscrape: add Prometheus-compatible service discovery for Consul aka consul_sd_configs 2020-05-04 20:51:17 +03:00
api.go discovery/{consul,nomad}: fix cancelling serviceWatcher in-flight requests (#3658) 2023-01-17 21:47:11 -08:00
consul.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:00 -08:00
service_node.go lib/promscrape/discovery/consul: expose service tags in individual labels __meta_consul_tag_<tagname> 2022-12-19 13:08:11 -08:00
service_node_test.go lib/promscrape/discovery/consul: expose service tags in individual labels __meta_consul_tag_<tagname> 2022-12-19 13:08:11 -08:00
watch.go discovery/{consul,nomad}: fix cancelling serviceWatcher in-flight requests (#3658) 2023-01-17 21:47:11 -08:00