pprof

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0, MIT Imports: 2 Imported by: 0

Documentation

Overview

Package pprof is separated out from metrics to isolate the 'init' functionality of pprof, so that it is included when used by binaries, but not if other drand 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