fmt: Clean up log statement
This commit is contained in:
parent
6991724258
commit
8f1dfffa49
|
|
@ -67,7 +67,8 @@ func StartSingleHTTPFrontend(cfg *config.Config) {
|
||||||
promProxy := httputil.NewSingleHostReverseProxy(promURL)
|
promProxy := httputil.NewSingleHostReverseProxy(promURL)
|
||||||
|
|
||||||
mux.HandleFunc("/metrics", func(w http.ResponseWriter, r *http.Request) {
|
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)
|
promProxy.ServeHTTP(w, r)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue