metricagent

package
v2.0.0-...-c3aa4fa Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricAgent

type MetricAgent struct {
	*plugin.AbstractPlugin
	// contains filtered or unexported fields
}

func New

func (*MetricAgent) Init

func (a *MetricAgent) Init(remote conf.Remote) error

func (*MetricAgent) NewMetrics

func (a *MetricAgent) NewMetrics() []plugin.DerivedMetric

NewMetrics returns the new metrics the receiver creates

func (*MetricAgent) Run

func (a *MetricAgent) Run(dataMap map[string]*matrix.Matrix) ([]*matrix.Matrix, *util.Metadata, error)

Jump to

Keyboard shortcuts

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