profiler

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2022 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MgoTimeoutDialInfo      = 5 * time.Second
	MgoTimeoutSessionSync   = 5 * time.Second
	MgoTimeoutSessionSocket = 5 * time.Second
)

Variables

This section is empty.

Functions

func New

func New(
	dialInfo *pmgo.DialInfo,
	dialer pmgo.Dialer,
	logger *pct.Logger,
	spool data.Spooler,
	config pc.QAN,
) *profiler

func NewMonitor

func NewMonitor(
	session pmgo.SessionManager,
	dbName string,
	aggregator *aggregator.Aggregator,
	logger *pct.Logger,
	spool data.Spooler,
	config pc.QAN,
) *monitor

func NewMonitors

func NewMonitors(
	session pmgo.SessionManager,
	newMonitor newMonitor,
) *monitors

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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