13 lines
294 B
Go
13 lines
294 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
|
|
}
|