From 6dfc5772ba8d82ff75d2c9834c2914b71b5a32c7 Mon Sep 17 00:00:00 2001 From: Alisdair MacLeod Date: Thu, 12 Feb 2026 14:44:07 +0000 Subject: [PATCH] fix nil pointer error in roundtripper --- proxy/internal/metrics/metrics.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/proxy/internal/metrics/metrics.go b/proxy/internal/metrics/metrics.go index 5334ec149..cf1af74a7 100644 --- a/proxy/internal/metrics/metrics.go +++ b/proxy/internal/metrics/metrics.go @@ -110,8 +110,6 @@ func (m *Metrics) RoundTripper(next http.RoundTripper) http.RoundTripper { duration := time.Since(start) labels := prometheus.Labels{ - "status": strconv.Itoa(res.StatusCode), - "size": strconv.Itoa(int(res.ContentLength)), "method": req.Method, "host": req.Host, "path": req.URL.Path,