cyclestats

package
v0.0.0-...-bf5970b Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CycleStats

type CycleStats struct {
	Name    string          `toml:"name"`
	GroupBy []string        `toml:"group_by"`
	Log     telegraf.Logger `toml:"-"`
	Fields  map[string][]string
	// contains filtered or unexported fields
}

func New

func New() *CycleStats

func (*CycleStats) Aggregate

func (c *CycleStats) Aggregate(ms []telegraf.Metric) (telegraf.Metric, error)

func (*CycleStats) Apply

func (t *CycleStats) Apply(in ...telegraf.Metric) []telegraf.Metric

func (*CycleStats) Description

func (r *CycleStats) Description() string

func (*CycleStats) Init

func (t *CycleStats) Init() error

func (*CycleStats) Reset

func (t *CycleStats) Reset()

func (*CycleStats) SampleConfig

func (*CycleStats) SampleConfig() string

Jump to

Keyboard shortcuts

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