k8sdecorator

package
v1.247346.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type K8sDecorator

type K8sDecorator struct {
	TagService      bool   `toml:"tag_service"`
	ClusterName     string `toml:"cluster_name"`
	HostIP          string `toml:"host_ip"`
	NodeName        string `toml:"node_name"`
	PrefFullPodName bool   `toml:"prefer_full_pod_name"`
	// contains filtered or unexported fields
}

func (*K8sDecorator) Apply

func (k *K8sDecorator) Apply(in ...telegraf.Metric) []telegraf.Metric

func (*K8sDecorator) Description

func (k *K8sDecorator) Description() string

func (*K8sDecorator) SampleConfig

func (k *K8sDecorator) SampleConfig() string

func (*K8sDecorator) Shutdown

func (k *K8sDecorator) Shutdown()

Shutdown currently does not get called, as telegraf does not have a cleanup hook for Filter plugins

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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