Pprof

Pprof is a feature to collect self runtime profiling data through pprof module.

Configuration

NameDefaultEnvironment KeyDescription
enabledfalseROVER_PPROF_ACTIVEEnable pprof module.
port6060ROVER_PPROF_PORTThe HTTP port to expose pprof data.

Expose Paths

  • /debug/pprof/: The root path to access pprof data.
  • /debug/pprof/cmdline: The command line invocation of the current program.
  • /debug/pprof/profile: A pprof-formatted snapshot of the current program.
  • /debug/pprof/symbol: The symbol table of the current program.
  • /debug/pprof/trace: A trace of the current program.