From 9fdd167dba95521df41c4e5f75907cdcf8e41c50 Mon Sep 17 00:00:00 2001 From: beorn7 Date: Wed, 25 Jan 2017 12:49:31 +0100 Subject: [PATCH] InstrumentHandler: Document issues with HTTP/2 --- prometheus/http.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/prometheus/http.go b/prometheus/http.go index a397277..d74fb48 100644 --- a/prometheus/http.go +++ b/prometheus/http.go @@ -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.