prometheus/retrieval
Anders Daljord Morken bedf8ee2a6 Close HTTP connections on HTTP errors too.
Move defer resp.Body.Close() up to make sure it's called even when the
HTTP request returns something other than 200 or Decoder construction
fails. This avoids leaking and eventually running out of file descriptors.
2016-01-11 16:48:14 +01:00
..
discovery Move TLS options to scrape config 2016-01-11 16:48:14 +01:00
testdata Configuration options for bearer tokens, client certs & CA certs 2015-08-04 17:18:46 +01:00
helpers_test.go Switch from client_golang/model to common/model 2015-08-21 13:33:38 +02:00
relabel.go Add missing license headers 2015-08-24 19:19:21 +02:00
relabel_test.go Change config regexes to full-string matches. 2016-01-11 16:48:12 +01:00
target.go Close HTTP connections on HTTP errors too. 2016-01-11 16:48:14 +01:00
target_test.go Move TLS options to scrape config 2016-01-11 16:48:14 +01:00
targetmanager.go Remove attachment of global labels upon ingestion 2016-01-11 16:48:13 +01:00
targetmanager_test.go Change config regexes to full-string matches. 2016-01-11 16:48:12 +01:00