profiling

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 23, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PprofHandlers

func PprofHandlers() map[string]http.Handler

PprofHandlers returns the pprof endpoints to mount on a metrics server, keyed by URL path. The runtime block/mutex profile rates are turned on as a side effect so the corresponding handlers return non-empty data; safe to call once per process.

func SetupPprofHandlers

func SetupPprofHandlers(mgr ctrl.Manager) error

SetupPprofHandlers registers the pprof endpoints on the controller-runtime manager's metrics server.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL