//
pkg.gl
Category
github.com/xmidt-org/arrange
arrangepprof
package
0.5.1
Repository:
https://github.com/xmidt-org/arrange.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
2
Files
173 SLOC
#
Constants
DefaultPathPrefix
DefaultPathPrefix is used as the path prefix for HTTP pprof handlers when no HTTP.PathPrefix field is supplied.
#
Variables
ErrAlreadyProfiling
ErrAlreadyProfiling indicates that a CPU profile to a particular path has already been started.
#
Structs
CPU
CPU is a strategy for managing CPU profiling within the lifecycle of an fx.App.
Heap
Heap is a strategy for writing memory profile data when an fx.App is stopped.
HTTP
HTTP is the strategy for attaching pprof routes to an arbitrary *http.ServeMux.