prometheus/retrieval
Matt Bostock 4fc619b605 Scrape: Remove JSON from Accept request header
JSON is no longer supported as an exposition format [1] [2] [3]. Remove
it from the `Accept` header added to requests when scraping targets.

[1]: https://github.com/prometheus/prometheus/blob/master/CHANGELOG.md#100--2016-07-18
[2]: https://prometheus.io/docs/instrumenting/exposition_formats/#historical-versions
[3]: https://docs.google.com/document/d/1ZjyKiKxZV83VI9ZKAXRGKaUKK2BIWCT7oiGBKDBpjEY/edit?usp=sharing
2016-09-17 10:28:03 +01:00
..
discovery Add support for GCE discovery 2016-09-16 08:55:33 +02:00
testdata Add ServerName into TLS Config 2016-05-26 14:24:49 -07:00
helpers_test.go Fix tests for append API changes 2016-02-03 10:17:08 +01:00
scrape.go Scrape: Remove JSON from Accept request header 2016-09-17 10:28:03 +01:00
scrape_test.go Fix common english misspellings 2016-09-14 23:23:28 -04:00
target.go retrieval: export NewHTTPClient 2016-09-05 16:44:40 +02:00
target_test.go Print url.URLs correctly in tests 2016-09-14 23:15:18 -04:00
targetmanager.go Add support for GCE discovery 2016-09-16 08:55:33 +02:00
targetmanager_test.go Fix broken test which relied on DNS resolution #1962 2016-09-08 16:59:46 -04:00