typo(metrics) changing response size to request size

jefferai-remove-alpnmux
A-440Hz 4 years ago
parent 3eb22b073a
commit 95e1fe8df0

@ -227,7 +227,7 @@ func InstrumentApiHandler(wrapped http.Handler) http.Handler {
promhttp.InstrumentHandlerDuration(
httpRequestLatency.MustCurryWith(l),
promhttp.InstrumentHandlerRequestSize(
httpResponseSize.MustCurryWith(l),
httpRequestSize.MustCurryWith(l),
promhttp.InstrumentHandlerResponseSize(
httpResponseSize.MustCurryWith(l),
wrapped,

Loading…
Cancel
Save