package
1.5.0
Repository: https://github.com/m3db/m3.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
Package extdebug contains helpers for more detailed debug information.
Package debugtest contains test helper methods.

# Functions

NewContinuousFileProfile returns a new continuous file profile.
NewCPUProfileSource returns a Source for CPU Profiling, measured over the passed duration.
NewHeapDumpSource returns a Source for heapdump.
NewHostInfoSource returns a Source for host information.
NewProfileSource returns a ProfileSource with a name and debug level, where the verbosity of the final stack information increases with value.
NewZipWriter returns an instance of an ZipWriter.
NewZipWriterWithDefaultSources returns a zipWriter with the following debug sources already registered: CPU, heap, host, goroutines.
RegisterPProfHandlers registers pprof endpoints on the ServeMux provided.

# Constants

ContinuousCPUProfileName is the name of continuous CPU profile.
DebugMethod is the HTTP method.
DebugURL is the url for the debug dump endpoint.

# Structs

ContinuousFileProfile is a profile that runs continously to a file using a template for a file name.
ContinuousFileProfileOptions is a set of continuous file profile options.
ContinuousFileProfilePathParams is the params used to construct a file path.
ProfileSource defines a custom source of a runtime/pprof Profile.

# Interfaces

Source is the interface that must be implemented to provide a new debug source.
ZipWriter aggregates sources and writes them in a zip file.