prometheus/storage/remote
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
..
client.go remote: Set User-Agent header in requests (#4891) 2018-11-23 22:49:49 +08:00
client_test.go Review feedback. 2018-05-29 11:35:43 +01:00
codec.go Reduce memory usage of remote read by reducing pointer usage. (#4655) 2018-09-25 19:14:00 +01:00
codec_test.go Reduce memory usage of remote read by reducing pointer usage. (#4655) 2018-09-25 19:14:00 +01:00
ewma.go Initial port of remote storage to v2. 2017-07-12 12:27:57 +01:00
queue_manager.go improve remote storage enqueue performance (#4772) 2018-11-13 12:19:05 +00:00
queue_manager_test.go Reduce memory usage of remote read by reducing pointer usage. (#4655) 2018-09-25 19:14:00 +01:00
read.go /api/v1/labels endpoint for getting all label names (#4835) 2018-11-19 15:51:14 +05:30
read_test.go Reduce memory usage of remote read by reducing pointer usage. (#4655) 2018-09-25 19:14:00 +01:00
storage.go Fix typo (#4423) 2018-07-26 08:49:53 +01:00
write.go Handle a bunch of unchecked errors (#4461) 2018-08-17 17:24:35 +02:00