prometheus/scrape
Romain Baugue 95193fa027 Exhaust every request body before closing it (#5166) (#5479)
From the documentation:
> The default HTTP client's Transport may not
> reuse HTTP/1.x "keep-alive" TCP connections if the Body is
> not read to completion and closed.

This effectively enable keep-alive for the fixed requests.

Signed-off-by: Romain Baugue <romain.baugue@elwinar.com>
2019-04-18 09:50:37 +01:00
..
testdata rename package retrieve to scrape 2018-02-01 09:55:07 +00:00
helpers_test.go rename package retrieve to scrape 2018-02-01 09:55:07 +00:00
manager.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
manager_test.go Bump prometheus/common to v0.3.0 (#5344) 2019-04-10 13:20:00 +01:00
scrape.go Exhaust every request body before closing it (#5166) (#5479) 2019-04-18 09:50:37 +01:00
scrape_test.go Bump prometheus/common to v0.3.0 (#5344) 2019-04-10 13:20:00 +01:00
target.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
target_test.go scrape: Add global jitter for HA server (#5181) 2019-03-12 10:46:15 +00:00