models

package
v1.247349.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AwsCsmInputChannel  = make(chan telegraf.Metric, 1000)
	AwsCsmOutputChannel = make(chan awscsmmetrics.Metric, 1000)
)
View Source
var GlobalMetricsGathered = selfstat.Register("agent", "metrics_gathered", map[string]string{})

Functions

This section is empty.

Types

type AwsCsmMakeMetric

type AwsCsmMakeMetric struct {
}

func (*AwsCsmMakeMetric) Log

func (r *AwsCsmMakeMetric) Log() telegraf.Logger

TODO: we add this new method to satisfy agent.MetricMaker interface we need to investigate what logger is proper here

func (*AwsCsmMakeMetric) LogName

func (r *AwsCsmMakeMetric) LogName() string

TODO: we add this new method to satisfy agent.MetricMaker interface we need to investigate what logger is proper here

func (*AwsCsmMakeMetric) MakeMetric

func (r *AwsCsmMakeMetric) MakeMetric(m telegraf.Metric) telegraf.Metric

the implementation is similar to MakeMetric function in model/running_input.go

func (*AwsCsmMakeMetric) Name

func (r *AwsCsmMakeMetric) Name() string

Jump to

Keyboard shortcuts

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