diff --git a/api/server/profiler.go b/api/server/profiler.go index 8bf8384..c062f2d 100644 --- a/api/server/profiler.go +++ b/api/server/profiler.go @@ -18,7 +18,8 @@ func profilerSetup(mainRouter *mux.Router) { r.HandleFunc("/pprof/cmdline", pprof.Cmdline) r.HandleFunc("/pprof/profile", pprof.Profile) r.HandleFunc("/pprof/symbol", pprof.Symbol) - r.HandleFunc("/pprof/trace", pprof.Trace) + // pprof.Trace is not available in go <= 1.4 + // r.HandleFunc("/pprof/trace", pprof.Trace) r.HandleFunc("/pprof/block", pprof.Handler("block").ServeHTTP) r.HandleFunc("/pprof/heap", pprof.Handler("heap").ServeHTTP) r.HandleFunc("/pprof/goroutine", pprof.Handler("goroutine").ServeHTTP)