Files
telegraf/processor.go
2016-10-12 14:50:19 +01:00

13 lines
293 B
Go

package telegraf
type Processor interface {
// SampleConfig returns the default configuration of the Input
SampleConfig() string
// Description returns a one-sentence description on the Input
Description() string
// Apply the filter to the given metric
Apply(in ...Metric) []Metric
}