InstrumentHandler: Document issues with HTTP/2

This commit is contained in:
beorn7 2017-01-25 12:49:31 +01:00
parent 74f9ce27f6
commit 9fdd167dba
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.