summaryrefslogtreecommitdiff
path: root/metrics.go
blob: 333a9fdd3429bb0ac743e66491ea733e150916a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package main

import (
	"net/http"
	_ "net/http/pprof"

	"github.com/prometheus/client_golang/prometheus"
)

func init() {
	http.Handle("/metrics", prometheus.Handler())
}