Documentation ¶
Overview ¶
Package monitor implements a goroutine based monitoring for detecting stuck scanner processes and dumping stack and other relevant information for investigation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
Agent is an agent for monitoring hanging programs
func NewStackMonitor ¶
func NewStackMonitor() *Agent
NewStackMonitor returns a new stack monitor instance
func (*Agent) RegisterCallback ¶ added in v3.1.6
RegisterCallback adds a callback to perform additional operations before bailing out.
Click to show internal directories.
Click to hide internal directories.