accumulator

package
v0.0.0-...-5c7ffcf Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Accumulator

type Accumulator interface {
	AddMetric(*model.Metric)
	AddError(error)
}

Like Telegraf.Accumulator

type Memory

type Memory struct {
	Metrics []*model.Metric
}

func (*Memory) AddError

func (m *Memory) AddError(err error)

func (*Memory) AddMetric

func (m *Memory) AddMetric(metric *model.Metric)

func (*Memory) Dump

func (m *Memory) Dump()

func (*Memory) Merge

func (m *Memory) Merge(other *Memory)

Jump to

Keyboard shortcuts

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