VictoriaMetrics/lib/promscrape/discovery
Aliaksandr Valialkin 54410bf51b
lib/promscrape: follow-up after bced9fb978
- Document the bugfix at docs/CHANGELOG.md
- Wait until all the worker goroutines are done in consulWatcher.mustStop()
- Do not log `context canceled` errors when discovering consul serviceNames
- Removed explicit handling of gzipped responses at lib/promscrape/discoveryutils.Client,
  since this handling is automatically performed by net/http.Transport.
  See DisableCompression option at https://pkg.go.dev/net/http#Transport .
- Remove explicit handling of the proxyURL, since it is automatically handled
  by net/http.Transport. See Proxy option at https://pkg.go.dev/net/http#Transport .
- Expliticly set MaxIdleConnsPerHost, since its default value equals to 2.
  Such a small value may result in excess tcp connection churn
  when more than 2 concurrent requests are processed by lib/promscrape/discoveryutils.Client.
- Do not set explicitly the `Host` request header, since it is automatically set by net/http.Client.
- Backport the bugfix to the recently added nomad_sd_configs - see https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3367

Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/3468
2023-01-05 21:23:21 -08:00
..
azure lib/promscrape/discoveryutils: switch to native http client from fasthttp (#3568) 2023-01-05 21:23:15 -08:00
consul lib/promscrape: follow-up after bced9fb978 2023-01-05 21:23:21 -08:00
digitalocean lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
dns lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
docker lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
dockerswarm lib/promscrape/discovery/dockerswarm: fix query encoding of filters (#3586) 2023-01-05 03:35:18 -08:00
ec2 lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
eureka lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
gce lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
http lib/promscrape/discoveryutils: switch to native http client from fasthttp (#3568) 2023-01-05 21:23:15 -08:00
kubernetes lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
nomad lib/promscrape: follow-up after bced9fb978 2023-01-05 21:23:21 -08:00
openstack lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00
yandexcloud lib/promscrape: optimize service discovery speed 2022-11-29 21:26:23 -08:00