monitor

package
v3.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 11 Imported by: 2

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

func NewStackMonitor

func NewStackMonitor(interval time.Duration) context.CancelFunc

NewStackMonitor returns a new stack monitor instance

Types

type Agent

type Agent struct {
	// contains filtered or unexported fields
}

Agent is an agent for monitoring hanging programs

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL