package
0.0.0-20191121140916-9649366ff4b2
Repository: https://github.com/chronosphereiox/m3.git
Documentation: pkg.go.dev

# Functions

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.
NewNamespaceInfoSource returns a Source for namespace information.
NewPlacementAndNamespaceZipWriterWithDefaultSources returns a zipWriter with the following debug sources already registered: CPU, heap, host, goroutines, namespace and placement info.
NewPlacementInfoSource returns a Source for placement 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.

# Constants

DebugURL is the url for the debug dump endpoint.

# Structs

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.