beater

package
v0.0.0-...-e947bd8 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2019 License: Apache-2.0 Imports: 12 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 an instance of statsdbeat.

func ParseBeats

func ParseBeats(msg string) ([]beat.Event, error)

ParseBeats takes a string constructs a beat.Event.

the msg has format <bucket>(,<k>=<v>)*:<value>|<type>|@<sample rate>

Types

type Statsdbeat

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

Statsdbeat configuration.

func (*Statsdbeat) Run

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

Run starts statsdbeat.

func (*Statsdbeat) Stop

func (bt *Statsdbeat) Stop()

Stop stops statsdbeat.

Jump to

Keyboard shortcuts

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