Documentation ¶
Overview ¶
Package pprof enables use of pprof in Cilium
Index ¶
Constants ¶
View Source
const ( // Pprof is the flag to enable the registration of pprof HTTP handlers Pprof = "pprof" // PprofAddress is the flag to set the address that pprof listens on PprofAddress = "pprof-address" // PprofPort is the flag to set the port that pprof listens on PprofPort = "pprof-port" )
Variables ¶
View Source
var Cell = cell.Module( "pprof", "pprof HTTP server to expose runtime profiling data", cell.Provide(newServer), cell.Invoke(func(srv Server) {}), )
Cell creates the cell for pprof, that registers its HTTP handlers to serve profiling data in the format expected by the pprof visualization tool.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.