Incorporate pprof HTTP debugging handler.

This registers the pprof debugging handler via the static side-
effects documented in http://golang.org/pkg/net/http/pprof/.
This commit is contained in:
Matt T. Proud 2013-02-05 17:17:33 +01:00
parent f6c449e782
commit a7953251ed

View file

@ -26,6 +26,7 @@ import (
"github.com/prometheus/prometheus/storage/metric/leveldb"
"log"
"net/http"
_ "net/http/pprof"
"os"
"os/signal"
)