collector

package
v2.0.0-alpha5+incompat... Latest Latest
Warning

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

Go to latest
Published: May 24, 2019 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MgoTimeoutTail = 1 * time.Second
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {

	// state
	sync.RWMutex // Lock() to protect internal consistency of the service
	// contains filtered or unexported fields
}

func New

func New(session pmgo.SessionManager, dbName string) *Collector

func (*Collector) Name

func (self *Collector) Name() string

func (*Collector) Start

func (self *Collector) Start() (<-chan proto.SystemProfile, error)

Start starts but doesn't wait until it exits

func (*Collector) Status

func (self *Collector) Status() map[string]string

func (*Collector) Stop

func (self *Collector) Stop()

Stop stops running

Jump to

Keyboard shortcuts

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