Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MonitorGoroutines ¶
MonitorGoroutines periodically logs goroutine counts
func PrintGoroutineStacks ¶
func PrintGoroutineStacks()
PrintGoroutineStacks prints all goroutine stacks to logs Useful for debugging hangs
func StartContinuousProfiling ¶ added in v1.35.0
StartContinuousProfiling starts Pyroscope continuous profiling if serverAddr is non-empty. Returns a stop function (call on shutdown) and any initialization error. When serverAddr is empty, returns a no-op stop function and nil error.
func StartProfiling ¶
StartProfiling enables runtime profiling based on config
Types ¶
Click to show internal directories.
Click to hide internal directories.