Versions in this module Expand all Collapse all v1 v1.2.0 Mar 24, 2017 Changes in this version + var NErrors = selfstat.Register("agent", "gather_errors", map[string]string{}) + func NewAccumulator(maker MetricMaker, metrics chan telegraf.Metric) *accumulator + type Agent struct + Config *config.Config + func NewAgent(config *config.Config) (*Agent, error) + func (a *Agent) Close() error + func (a *Agent) Connect() error + func (a *Agent) Run(shutdown chan struct{}) error + func (a *Agent) Test() error + type MetricMaker interface + MakeMetric func(measurement string, fields map[string]interface{}, tags map[string]string, ...) telegraf.Metric + Name func() string