Skip to content

Commit

Permalink
fix: register all pprof http handlers (#672)
Browse files Browse the repository at this point in the history
  • Loading branch information
kolesnikovae authored Jan 3, 2022
1 parent 389019b commit f377cf3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/server/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ func (ctrl *Controller) mux() (http.Handler, error) {
{"/debug/pprof/profile", pprof.Profile},
{"/debug/pprof/symbol", pprof.Symbol},
{"/debug/pprof/trace", pprof.Trace},
{"/debug/pprof/allocs", pprof.Index},
{"/debug/pprof/goroutine", pprof.Index},
{"/debug/pprof/heap", pprof.Index},
{"/debug/pprof/threadcreate", pprof.Index},
{"/debug/pprof/block", pprof.Index},
{"/debug/pprof/mutex", pprof.Index},
}...)
}

Expand Down

0 comments on commit f377cf3

Please sign in to comment.