Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Commit 48745ff

Browse files
authored
Add another pprof endpoint (#1034)
This should be added here #1031. Sorry
1 parent 8829d22 commit 48745ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quesma/quesma/ui/console_routes.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,7 @@ func (qmc *QuesmaManagementConsole) initPprof(router *mux.Router) {
309309
router.HandleFunc("/debug/pprof/heap", pprof.Handler("heap").ServeHTTP)
310310
router.HandleFunc("/debug/pprof/block", pprof.Handler("block").ServeHTTP)
311311
router.HandleFunc("/debug/pprof/mutex", pprof.Handler("mutex").ServeHTTP)
312+
router.HandleFunc("/debug/pprof/allocs", pprof.Handler("allocs").ServeHTTP)
312313
router.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
313314
router.HandleFunc("/debug/pprof/trace", pprof.Trace)
314315
}

0 commit comments

Comments
 (0)