From 8f1dfffa490ef18fa212949bfa767415770cdde5 Mon Sep 17 00:00:00 2001 From: jamesread Date: Sun, 21 Apr 2024 20:12:47 +0100 Subject: [PATCH] fmt: Clean up log statement --- internal/httpservers/singleFrontend.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/internal/httpservers/singleFrontend.go b/internal/httpservers/singleFrontend.go index 786e4763..2714e39b 100644 --- a/internal/httpservers/singleFrontend.go +++ b/internal/httpservers/singleFrontend.go @@ -67,7 +67,8 @@ func StartSingleHTTPFrontend(cfg *config.Config) { promProxy := httputil.NewSingleHostReverseProxy(promURL) mux.HandleFunc("/metrics", func(w http.ResponseWriter, r *http.Request) { - log.Debugf("prom req: %q", r.URL) + logDebugRequest(cfg, "prom", r) + promProxy.ServeHTTP(w, r) }) }