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