profiler

package
v2.12.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2020 License: Apache-2.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(mongoDSN string, logger *logrus.Entry, w sender.Writer, agentID string) *profiler

New creates new Profiler

func NewMonitor

func NewMonitor(client *mongo.Client, dbName string, aggregator *aggregator.Aggregator, logger *logrus.Entry) *monitor

NewMonitor creates new monitor.

func NewMonitors

func NewMonitors(client *mongo.Client, newMonitor newMonitor, logger *logrus.Entry) *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