Help us shape the future of Go! Take the 2026 Go Developer Survey

models

package
v1.247346.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2020 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