prometheus/scrape
Robert Fratto 44a5e705be
discovery: Expose custom HTTP client options to discoverers (#10462)
* discovery: expose HTTP client options to discoverers

Signed-off-by: Robert Fratto <robertfratto@gmail.com>

* discovery/http: use HTTP client options for created client

Signed-off-by: Robert Fratto <robertfratto@gmail.com>

* scrape: use a list of HTTP client options instead of just dial context

Signed-off-by: Robert Fratto <robertfratto@gmail.com>

* discovery: rephrase comment

Signed-off-by: Robert Fratto <robertfratto@gmail.com>
2022-03-24 18:16:59 -04:00
..
testdata Re-generate test cert to fix test_windows test failures 2022-03-17 19:37:18 +01:00
helpers_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
manager.go discovery: Expose custom HTTP client options to discoverers (#10462) 2022-03-24 18:16:59 -04:00
manager_test.go Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
scrape.go discovery: Expose custom HTTP client options to discoverers (#10462) 2022-03-24 18:16:59 -04:00
scrape_test.go scrape: allow providing a custom Dialer for scraping (#10415) 2022-03-09 00:48:47 +01:00
target.go Remove check against cfg so interval/ timeout are always set (#10023) (#10031) 2021-12-16 16:46:14 +01:00
target_test.go Remove check against cfg so interval/ timeout are always set (#10023) (#10031) 2021-12-16 16:46:14 +01:00