pprof

package
v0.8.37 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Overview

Package pprof is separated out from metrics to isolate the 'init' functionality of pprof, so thatit is included when used by binaries, but not if other packages get used or integrated into clients that don't expect the pprof side effect to have taken effect.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithProfile

func WithProfile() http.Handler

WithProfile provides an http mux setup to serve pprof endpoints. it should be mounted at /debug/pprof.

Types

This section is empty.

Jump to

Keyboard shortcuts

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