VictoriaMetrics/lib/promscrape/discoveryutils
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
..
client.go discovery/{consul,nomad}: fix cancelling serviceWatcher in-flight requests (#3658) 2023-01-17 21:47:51 -08:00
config_map.go lib/promscrape: explicitly stop and cleanup service discovery routines when new config is read from -promscrape.config 2021-03-01 14:15:16 +02:00
utils.go lib/bytesutil: add InternBytes() function as a shortcut to InternString(ToUnsafeString(..)) 2023-01-03 22:15:49 -08:00
utils_test.go lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
utils_timing_test.go lib/promscrape: optimize discoveryutils.SanitizeLabelName() 2022-08-27 00:18:19 +03:00