Adding the pprof HTTP service to cAdvisor.

This does not consume any resources unless the resources are queried.
This commit is contained in:
Victor Marmol 2014-09-10 18:25:25 -07:00
parent 4397c6ed32
commit 1c085a302d

View File

@ -18,6 +18,7 @@ import (
"flag" "flag"
"fmt" "fmt"
"net/http" "net/http"
_ "net/http/pprof"
"runtime" "runtime"
"github.com/golang/glog" "github.com/golang/glog"