discard

package
v1.17.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2021 License: MIT Imports: 2 Imported by: 0

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

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL