package models import ( "time" "github.com/influxdata/telegraf/plugins/inputs" ) type RunningInput struct { Name string Input inputs.Input Config *InputConfig } // InputConfig containing a name, interval, and filter type InputConfig struct { Name string NameOverride string MeasurementPrefix string MeasurementSuffix string Tags map[string]string Filter Filter Interval time.Duration }