package main import ( "net/http" _ "net/http/pprof" "github.com/prometheus/client_golang/prometheus" ) func init() { http.Handle("/metrics", prometheus.Handler()) }