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.
1 parent 9e64bae commit 8ee0478Copy full SHA for 8ee0478
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