Documentation
¶
Index ¶
Constants ¶
View Source
const (
CollectorGoroutinesStack = "goroutines-stack"
CollectorGoroutinesPprof = "goroutines-pprof"
CollectorVersion = "version"
CollectorHeap = "heap"
CollectorBin = "bin"
CollectorCPU = "cpu"
CollectorMutex = "mutex"
CollectorBlock = "block"
)
Variables ¶
This section is empty.
Functions ¶
func WriteAllGoroutineStacks ¶
func WriteAllGoroutineStacks(w io.Writer) error
WriteAllGoroutineStacks writes a stack trace to the given writer. This is distinct from the Go-provided method because it does not truncate after 64 MB.
func WriteProfiles ¶
func WriteProfiles(ctx context.Context, archive *zip.Writer, opts Options) error
Types ¶
Click to show internal directories.
Click to hide internal directories.