Documentation ¶
Overview ¶
Package stackparse turns stacklogs into objects for analysis
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SuggestedIgnore = []string{
"signal.init.0",
"trace.Start",
"stacklog.Start",
"klog.init.0",
"klog.init.0",
"localbinary.(*Plugin).AttachStream",
"rpc.(*DefaultRPCClientDriverFactory).NewRPCClientDriver",
"http.(*http2Transport).newClientConn",
}
SuggestedIgnore are goroutines that we recommend ignoring.
Functions ¶
func InternalCall ¶
func PkgDotName ¶ added in v1.1.1
Types ¶
type Call ¶
type Call struct { StartDelta time.Duration EndDelta time.Duration Samples int Args stack.Args Name string Package string // contains filtered or unexported fields }
Call is an individual function call seen within a layer.
type GoroutineTimeline ¶
GoroutineTimeline represents a time series for an individual goroutine.
type StackSample ¶
StackSample represents a single Go stack at a point in time.
type Timeline ¶
type Timeline struct { Start time.Time End time.Time Samples int Goroutines map[int]*GoroutineTimeline }
Timeline represents a time series of Goroutine stacks.
func CreateTimeline ¶
func CreateTimeline(samples []*StackSample, ignoreCreators []string, goroutines []int) *Timeline
CreateTimeline creates a timeline from stack samples.
func SimplifyTimeline ¶
SimplifyTimeline flattens overlapping layers from call-stacks in a timeline.
Click to show internal directories.
Click to hide internal directories.