Skip to content

Commit

Permalink
Add another pprof endpoint (#1034)
Browse files Browse the repository at this point in the history
This should be added here #1031. Sorry
  • Loading branch information
nablaone authored Nov 22, 2024
1 parent 8829d22 commit 48745ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions quesma/quesma/ui/console_routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,6 +309,7 @@ func (qmc *QuesmaManagementConsole) initPprof(router *mux.Router) {
router.HandleFunc("/debug/pprof/heap", pprof.Handler("heap").ServeHTTP)
router.HandleFunc("/debug/pprof/block", pprof.Handler("block").ServeHTTP)
router.HandleFunc("/debug/pprof/mutex", pprof.Handler("mutex").ServeHTTP)
router.HandleFunc("/debug/pprof/allocs", pprof.Handler("allocs").ServeHTTP)
router.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
router.HandleFunc("/debug/pprof/trace", pprof.Trace)
}
Expand Down

0 comments on commit 48745ff

Please sign in to comment.