2016-12-23 15:18:27 +00:00
|
|
|
package plugins
|
2016-09-08 14:22:10 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|