add configz.InstallHandler

Signed-off-by: PingWang <wang.ping5@zte.com.cn>
This commit is contained in:
PingWang 2016-07-21 19:27:09 +08:00
parent 4694a6dd71
commit 2dae79c114

View File

@ -144,6 +144,7 @@ func Run(s *options.CMServer) error {
mux.HandleFunc("/debug/pprof/profile", pprof.Profile)
mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
}
configz.InstallHandler(mux)
mux.Handle("/metrics", prometheus.Handler())
server := &http.Server{