beater

package
v5.0.0-alpha1+incompat... Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConfigSettings

type ConfigSettings struct {
	Input   *TopConfig `config:"input"`
	Topbeat *TopConfig `config:"topbeat"`
}

type TopConfig

type TopConfig struct {
	Period *int64
	Procs  *[]string
	Stats  struct {
		System     *bool `config:"system"`
		Proc       *bool `config:"process"`
		Filesystem *bool `config:"filesystem"`
		CpuPerCore *bool `config:"cpu_per_core"`
	}
}

type Topbeat

type Topbeat struct {
	TbConfig ConfigSettings
	// contains filtered or unexported fields
}

func New

func New() *Topbeat

func (*Topbeat) Cleanup

func (tb *Topbeat) Cleanup(b *beat.Beat) error

func (*Topbeat) Config

func (tb *Topbeat) Config(b *beat.Beat) error

func (*Topbeat) Run

func (t *Topbeat) Run(b *beat.Beat) error

func (*Topbeat) Setup

func (tb *Topbeat) Setup(b *beat.Beat) error

func (*Topbeat) Stop

func (t *Topbeat) Stop()

Jump to

Keyboard shortcuts

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