From 1c085a302df6226d2dd3e1b937465d72bfa617e1 Mon Sep 17 00:00:00 2001 From: Victor Marmol Date: Wed, 10 Sep 2014 18:25:25 -0700 Subject: [PATCH] Adding the pprof HTTP service to cAdvisor. This does not consume any resources unless the resources are queried. --- cadvisor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cadvisor.go b/cadvisor.go index fcf248ba..f360005d 100644 --- a/cadvisor.go +++ b/cadvisor.go @@ -18,6 +18,7 @@ import ( "flag" "fmt" "net/http" + _ "net/http/pprof" "runtime" "github.com/golang/glog"