prometheus/scrape
Simon Pasquier 12708acd15
scrape: catch errors when creating HTTP clients (#5182)
* scrape: catch errors when creating HTTP clients

This change makes sure that no scrape pool is created with a nil HTTP
client.

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Address Tariq's comment

Signed-off-by: Simon Pasquier <spasquie@redhat.com>

* Address Brian's comment

Signed-off-by: Simon Pasquier <spasquie@redhat.com>
2019-02-13 14:24:22 +01:00
..
testdata
helpers_test.go
manager_test.go scrape: catch errors when creating HTTP clients (#5182) 2019-02-13 14:24:22 +01:00
manager.go scrape: catch errors when creating HTTP clients (#5182) 2019-02-13 14:24:22 +01:00
scrape_test.go scrape: catch errors when creating HTTP clients (#5182) 2019-02-13 14:24:22 +01:00
scrape.go scrape: catch errors when creating HTTP clients (#5182) 2019-02-13 14:24:22 +01:00
target_test.go support reading basic_auth password_file for HTTP basic auth (#4077) 2018-04-25 18:19:06 +01:00
target.go wait for interval-now%interval to make sure target will be collected with a fixed interval when restart prometheus (#4926) 2018-12-05 09:58:39 +00:00