We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9e64bae + 8ee0478 commit 8d08803Copy full SHA for 8d08803
main.go
@@ -303,6 +303,7 @@ func mainWithExitCode() flags.ExitCode {
303
mux.HandleFunc("/debug/pprof/", pprof.Index)
304
mux.HandleFunc("/debug/pprof/symbol", pprof.Symbol)
305
mux.HandleFunc("/debug/pprof/trace", pprof.Trace)
306
+ mux.HandleFunc("/debug/pprof/profile", pprof.Profile)
307
//nolint:gosec
308
if err = http.ListenAndServe(f.HTTPAddress, mux); err != nil {
309
log.Errorf("Serving pprof on %s failed: %s", f.HTTPAddress, err)
0 commit comments