beater

package
v0.0.0-...-b77287d Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2016 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(b *beat.Beat, cfg *common.Config) (beat.Beater, error)

New creates a new Mongobeat Instance

Types

type Mongobeat

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

Mongobeat implements the Beater interface and adds additional methods to pull data from MongoDB's reporting utilities

func (*Mongobeat) Run

func (bt *Mongobeat) Run(b *beat.Beat) error

Run runs the program in an event loop, publishing events periodically according to config.Period

func (*Mongobeat) Stop

func (bt *Mongobeat) Stop()

Stop safely exits the mongobeat program

Jump to

Keyboard shortcuts

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