README ¶ discard Output Plugin This output plugin simply drops all metrics that are sent to it. It is only meant to be used for testing purposes. Configuration: # Send metrics to nowhere at all [[outputs.discard]] # no configuration Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Discard func (d *Discard) Close() error func (d *Discard) Connect() error func (d *Discard) Description() string func (d *Discard) SampleConfig() string func (d *Discard) Write(metrics []telegraf.Metric) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Discard ¶ type Discard struct{} func (*Discard) Close ¶ func (d *Discard) Close() error func (*Discard) Connect ¶ func (d *Discard) Connect() error func (*Discard) Description ¶ func (d *Discard) Description() string func (*Discard) SampleConfig ¶ func (d *Discard) SampleConfig() string func (*Discard) Write ¶ func (d *Discard) Write(metrics []telegraf.Metric) error Source Files ¶ View all Source files discard.go Click to show internal directories. Click to hide internal directories.