Adding the pprof HTTP service to cAdvisor.
This does not consume any resources unless the resources are queried.
This commit is contained in:
parent
4397c6ed32
commit
1c085a302d
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user