prometheus/storage
Daniele Sluijters f25a6baedb remote: Set User-Agent header in requests (#4891)
Currently Prometheus requests show up with a UA of Go-http-client/1.1
which isn't super helpful. Though the X-Prometheus-Remote-* headers
exist they need to be explicitly configured when logging the request in
order to be able to deduce this is a request originating from
Prometheus. By setting the header we remove this ambiguity and make
default server logs just a bit more useful.

This also updates a few other places to consistently capitalize the 'P'
in the user agent, as well as ensure we set a UA to begin with.

Signed-off-by: Daniele Sluijters <daenney@users.noreply.github.com>
2018-11-23 22:49:49 +08:00
..
remote remote: Set User-Agent header in requests (#4891) 2018-11-23 22:49:49 +08:00
tsdb added tsdb/head mint maxt metrics (#4888) 2018-11-21 12:57:32 +02:00
buffer.go Fix typo (#4497) 2018-09-13 16:04:10 +05:30
buffer_test.go Simplify BufferedSeriesIterator usage (#4294) 2018-07-18 05:10:28 +01:00
fanout.go /api/v1/labels endpoint for getting all label names (#4835) 2018-11-19 15:51:14 +05:30
fanout_test.go Avoid infinite loop on duplicate NaN values. (#4275) 2018-06-18 17:34:08 +01:00
interface.go /api/v1/labels endpoint for getting all label names (#4835) 2018-11-19 15:51:14 +05:30
noop.go /api/v1/labels endpoint for getting all label names (#4835) 2018-11-19 15:51:14 +05:30