processors

package
v1.17.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 2 Imported by: 111

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Processors = map[string]StreamingCreator{}

all processors are streaming processors. telegraf.Processor processors are upgraded to telegraf.StreamingProcessor

Functions

func Add

func Add(name string, creator Creator)

Add adds a telegraf.Processor processor

func AddStreaming added in v1.15.0

func AddStreaming(name string, creator StreamingCreator)

AddStreaming adds a telegraf.StreamingProcessor streaming processor

func NewStreamingProcessorFromProcessor added in v1.15.0

func NewStreamingProcessorFromProcessor(p telegraf.Processor) telegraf.StreamingProcessor

NewStreamingProcessorFromProcessor is a converter that turns a standard processor into a streaming processor

Types

type Creator

type Creator func() telegraf.Processor

type StreamingCreator added in v1.15.0

type StreamingCreator func() telegraf.StreamingProcessor

Jump to

Keyboard shortcuts

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