printer

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 6 Imported by: 10

README

Printer Processor Plugin

The printer processor plugin simple prints every metric passing through it.

Global configuration options

In addition to the plugin-specific configuration settings, plugins support additional global and plugin configuration settings. These settings are used to modify metrics, tags, and field or create aliases and configure ordering, etc. See the CONFIGURATION.md for more details.

Configuration

# Print all metrics that pass through this filter.
[[processors.printer]]

Tags

No tags are applied by this processor.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Printer

type Printer struct {
	// contains filtered or unexported fields
}

func (*Printer) Apply

func (p *Printer) Apply(in ...telegraf.Metric) []telegraf.Metric

func (*Printer) SampleConfig

func (*Printer) SampleConfig() string

Jump to

Keyboard shortcuts

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