2016-09-08 14:22:10 +00:00
|
|
|
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
|
|
|
|
|
2018-11-05 21:34:28 +00:00
|
|
|
// Apply the filter to the given metric.
|
2016-09-08 14:22:10 +00:00
|
|
|
Apply(in ...Metric) []Metric
|
|
|
|
}
|