serializers

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Deprecations = make(map[string]telegraf.DeprecationInfo)

Deprecations lists the deprecated plugins

View Source
var Serializers = make(map[string]Creator)

Serializers contains the registry of all known serializers (following the new style)

Functions

func Add

func Add(name string, creator Creator)

Add adds a serializer to the registry. Usually this function is called in the plugin's init function

func BenchmarkMetrics

func BenchmarkMetrics(b *testing.B) [4]telegraf.Metric

BenchmarkMetrics returns a set of metrics for benchmarking.

Types

type Creator

type Creator func() telegraf.Serializer

Creator is the function to create a new serializer

Jump to

Keyboard shortcuts

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