package metrics import ( "net/http" "github.com/prometheus/client_golang/prometheus/promhttp" ) func Handler() http.Handler { mux := http.NewServeMux() mux.Handle("GET /metrics", promhttp.Handler()) return mux }