inputs

package
v1.19.3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: MIT Imports: 2 Imported by: 8,891

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Inputs = map[string]Creator{}

Functions

func Add

func Add(name string, creator Creator)

Types

type Creator

type Creator func() telegraf.Input

type MockPlugin

type MockPlugin struct {
	mock.Mock
	// contains filtered or unexported fields
}

MockPlugin struct should be named the same as the Plugin

func (*MockPlugin) Description added in v1.14.0

func (m *MockPlugin) Description() string

Description will appear directly above the plugin definition in the config file

func (*MockPlugin) Gather

func (m *MockPlugin) Gather(_a0 telegraf.Accumulator) error

Gather defines what data the plugin will gather.

func (*MockPlugin) Init added in v1.17.0

func (m *MockPlugin) Init() error

Init can be implemented to do one-time processing stuff like initializing variables

func (*MockPlugin) SampleConfig added in v1.14.0

func (m *MockPlugin) SampleConfig() string

SampleConfig will populate the sample configuration portion of the plugin's configuration

Directories

Path Synopsis
Package docker contains few helper functions copied from https://github.com/docker/cli/blob/master/cli/command/container/stats_helpers.go
Package docker contains few helper functions copied from https://github.com/docker/cli/blob/master/cli/command/container/stats_helpers.go
auth
Package authentication is a generated protocol buffer package.
Package authentication is a generated protocol buffer package.
oc
Package telemetry is a generated protocol buffer package.
Package telemetry is a generated protocol buffer package.
Package lustre2 (doesn't aim for Windows) Lustre 2.x Telegraf plugin Lustre (http://lustre.org/) is an open-source, parallel file system for HPC environments.
Package lustre2 (doesn't aim for Windows) Lustre 2.x Telegraf plugin Lustre (http://lustre.org/) is an open-source, parallel file system for HPC environments.
internal/rcon
Package rcon implements the communication protocol for communicating with RCON servers.
Package rcon implements the communication protocol for communicating with RCON servers.
v1
v2
Package neptuneapex implements an input plugin for the Neptune Apex aquarium controller.
Package neptuneapex implements an input plugin for the Neptune Apex aquarium controller.
Package phpfpm implements the FastCGI protocol.
Package phpfpm implements the FastCGI protocol.
Package uwsgi implements a telegraf plugin for collecting uwsgi stats from the uwsgi stats server.
Package uwsgi implements a telegraf plugin for collecting uwsgi stats from the uwsgi stats server.
Package win_eventlog Input plugin to collect Windows Event Log messages
Package win_eventlog Input plugin to collect Windows Event Log messages
Package x509_cert reports metrics from an SSL certificate.
Package x509_cert reports metrics from an SSL certificate.
cmd/thrift_serialize
A small cli utility meant to convert json to zipkin thrift binary format, and vice versa.
A small cli utility meant to convert json to zipkin thrift binary format, and vice versa.

Jump to

Keyboard shortcuts

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