From a7953251ed87a2494d7c86933a880902a0fe71e0 Mon Sep 17 00:00:00 2001 From: "Matt T. Proud" Date: Tue, 5 Feb 2013 17:17:33 +0100 Subject: [PATCH] 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/. --- main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/main.go b/main.go index 0672c41c2..fef264131 100644 --- a/main.go +++ b/main.go @@ -26,6 +26,7 @@ import ( "github.com/prometheus/prometheus/storage/metric/leveldb" "log" "net/http" + _ "net/http/pprof" "os" "os/signal" )