Merge pull request #273 from prometheus/beorn7/doc

InstrumentHandler: Document issues with HTTP/2
This commit is contained in:
Björn Rabenstein 2017-01-25 13:09:23 +01:00 committed by GitHub
commit c317fb7474
1 changed files with 3 additions and 0 deletions

View File

@ -172,6 +172,9 @@ func nowSeries(t ...time.Time) nower {
// httputil.ReverseProxy is a prominent example for a handler
// performing such writes.
//
// - It has additional issues with HTTP/2, cf.
// https://github.com/prometheus/client_golang/issues/272.
//
// Upcoming versions of this package will provide ways of instrumenting HTTP
// handlers that are more flexible and have fewer issues. Please prefer direct
// instrumentation in the meantime.