prometheus/util
Philippe Laflamme 2aba238f31 Use common HTTPClientConfig for marathon_sd configuration (#4009)
This adds support for basic authentication which closes #3090

The support for specifying the client timeout was removed as discussed in https://github.com/prometheus/common/pull/123. Marathon was the only sd mechanism doing this and configuring the timeout is done through `Context`.

DC/OS uses a custom `Authorization` header for authenticating. This adds 2 new configuration properties to reflect this.

Existing configuration files that use the bearer token will no longer work. More work is required to make this backwards compatible.
2018-04-05 09:08:18 +01:00
..
httputil Use common HTTPClientConfig for marathon_sd configuration (#4009) 2018-04-05 09:08:18 +01:00
promlint Add promlint check for histogram/summary reserved names (#2626) 2017-04-15 22:38:01 +01:00
stats General simplifications (#3887) 2018-02-26 07:58:10 +00:00
strutil Revert "Revert the /graph changes." 2016-09-03 21:05:23 +02:00
testutil General simplifications (#3887) 2018-02-26 07:58:10 +00:00
treecache Fix some lint errors (#3334) 2017-10-23 14:57:30 +01:00