Skip to content

Commit

Permalink
fmt: Clean up log statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesread committed Apr 21, 2024
1 parent 6991724 commit 8f1dfff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/httpservers/singleFrontend.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
})
}
Expand Down

0 comments on commit 8f1dfff

Please sign in to comment.