beater

package
v0.0.0-...-a6bfa4b Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2019 License: Apache-2.0 Imports: 9 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 processbeat.

Types

type Processbeat

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

Processbeat configuration.

func (*Processbeat) GetProcessStats

func (bt *Processbeat) GetProcessStats(procName string) string

func (*Processbeat) Run

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

Run starts processbeat.

func (*Processbeat) Stop

func (bt *Processbeat) Stop()

Stop stops processbeat.

Jump to

Keyboard shortcuts

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