inputs

package
v2.7.5 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUStats

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

CPUStats is based on telegraf CPUStats.

func (*CPUStats) PluginName

func (c *CPUStats) PluginName() string

PluginName is based on telegraf plugin name.

func (*CPUStats) TOML

func (c *CPUStats) TOML() string

TOML encodes to toml string

func (CPUStats) Type

func (b CPUStats) Type() plugins.Type

func (*CPUStats) UnmarshalTOML

func (c *CPUStats) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type DiskIO

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

DiskIO is based on telegraf DiskIO.

func (*DiskIO) PluginName

func (d *DiskIO) PluginName() string

PluginName is based on telegraf plugin name.

func (*DiskIO) TOML

func (d *DiskIO) TOML() string

TOML encodes to toml string.

func (DiskIO) Type

func (b DiskIO) Type() plugins.Type

func (*DiskIO) UnmarshalTOML

func (d *DiskIO) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type DiskStats

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

DiskStats is based on telegraf DiskStats.

func (*DiskStats) PluginName

func (d *DiskStats) PluginName() string

PluginName is based on telegraf plugin name.

func (*DiskStats) TOML

func (d *DiskStats) TOML() string

TOML encodes to toml string

func (DiskStats) Type

func (b DiskStats) Type() plugins.Type

func (*DiskStats) UnmarshalTOML

func (d *DiskStats) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Docker

type Docker struct {
	Endpoint string `json:"endpoint"`
	// contains filtered or unexported fields
}

Docker is based on telegraf Docker plugin.

func (*Docker) PluginName

func (d *Docker) PluginName() string

PluginName is based on telegraf plugin name.

func (*Docker) TOML

func (d *Docker) TOML() string

TOML encodes to toml string

func (Docker) Type

func (b Docker) Type() plugins.Type

func (*Docker) UnmarshalTOML

func (d *Docker) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type File

type File struct {
	Files []string `json:"files"`
	// contains filtered or unexported fields
}

File is based on telegraf input File plugin.

func (*File) PluginName

func (f *File) PluginName() string

PluginName is based on telegraf plugin name.

func (*File) TOML

func (f *File) TOML() string

TOML encodes to toml string

func (File) Type

func (b File) Type() plugins.Type

func (*File) UnmarshalTOML

func (f *File) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Kernel

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

Kernel is based on telegraf Kernel.

func (*Kernel) PluginName

func (k *Kernel) PluginName() string

PluginName is based on telegraf plugin name.

func (*Kernel) TOML

func (k *Kernel) TOML() string

TOML encodes to toml string

func (Kernel) Type

func (b Kernel) Type() plugins.Type

func (*Kernel) UnmarshalTOML

func (k *Kernel) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Kubernetes

type Kubernetes struct {
	URL string `json:"url"`
	// contains filtered or unexported fields
}

Kubernetes is based on telegraf Kubernetes plugin

func (*Kubernetes) PluginName

func (k *Kubernetes) PluginName() string

PluginName is based on telegraf plugin name.

func (*Kubernetes) TOML

func (k *Kubernetes) TOML() string

TOML encodes to toml string.

func (Kubernetes) Type

func (b Kubernetes) Type() plugins.Type

func (*Kubernetes) UnmarshalTOML

func (k *Kubernetes) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type LogParserPlugin

type LogParserPlugin struct {
	Files []string `json:"files"`
	// contains filtered or unexported fields
}

LogParserPlugin is based on telegraf LogParserPlugin.

func (*LogParserPlugin) PluginName

func (l *LogParserPlugin) PluginName() string

PluginName is based on telegraf plugin name.

func (*LogParserPlugin) TOML

func (l *LogParserPlugin) TOML() string

TOML encodes to toml string

func (LogParserPlugin) Type

func (b LogParserPlugin) Type() plugins.Type

func (*LogParserPlugin) UnmarshalTOML

func (l *LogParserPlugin) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type MemStats

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

MemStats is based on telegraf MemStats.

func (*MemStats) PluginName

func (m *MemStats) PluginName() string

PluginName is based on telegraf plugin name.

func (*MemStats) TOML

func (m *MemStats) TOML() string

TOML encodes to toml string

func (MemStats) Type

func (b MemStats) Type() plugins.Type

func (*MemStats) UnmarshalTOML

func (m *MemStats) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type NetIOStats

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

NetIOStats is based on telegraf NetIOStats.

func (*NetIOStats) PluginName

func (n *NetIOStats) PluginName() string

PluginName is based on telegraf plugin name.

func (*NetIOStats) TOML

func (n *NetIOStats) TOML() string

TOML encodes to toml string

func (NetIOStats) Type

func (b NetIOStats) Type() plugins.Type

func (*NetIOStats) UnmarshalTOML

func (n *NetIOStats) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type NetResponse

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

NetResponse is based on telegraf NetResponse.

func (*NetResponse) PluginName

func (n *NetResponse) PluginName() string

PluginName is based on telegraf plugin name.

func (*NetResponse) TOML

func (n *NetResponse) TOML() string

TOML encodes to toml string

func (NetResponse) Type

func (b NetResponse) Type() plugins.Type

func (*NetResponse) UnmarshalTOML

func (n *NetResponse) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Nginx

type Nginx struct {
	URLs []string `json:"urls"`
	// contains filtered or unexported fields
}

Nginx is based on telegraf nginx plugin.

func (*Nginx) PluginName

func (n *Nginx) PluginName() string

PluginName is based on telegraf plugin name.

func (*Nginx) TOML

func (n *Nginx) TOML() string

TOML encodes to toml string

func (Nginx) Type

func (b Nginx) Type() plugins.Type

func (*Nginx) UnmarshalTOML

func (n *Nginx) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Processes

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

Processes is based on telegraf Processes.

func (*Processes) PluginName

func (p *Processes) PluginName() string

PluginName is based on telegraf plugin name.

func (*Processes) TOML

func (p *Processes) TOML() string

TOML encodes to toml string

func (Processes) Type

func (b Processes) Type() plugins.Type

func (*Processes) UnmarshalTOML

func (p *Processes) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Procstat

type Procstat struct {
	Exe string `json:"exe"`
	// contains filtered or unexported fields
}

Procstat is based on telegraf procstat input plugin.

func (*Procstat) PluginName

func (p *Procstat) PluginName() string

PluginName is based on telegraf plugin name.

func (*Procstat) TOML

func (p *Procstat) TOML() string

TOML encodes to toml string.

func (Procstat) Type

func (b Procstat) Type() plugins.Type

func (*Procstat) UnmarshalTOML

func (p *Procstat) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Prometheus

type Prometheus struct {
	URLs []string `json:"urls"`
	// contains filtered or unexported fields
}

Prometheus is based on telegraf Prometheus plugin.

func (*Prometheus) PluginName

func (p *Prometheus) PluginName() string

PluginName is based on telegraf plugin name.

func (*Prometheus) TOML

func (p *Prometheus) TOML() string

TOML encodes to toml string

func (Prometheus) Type

func (b Prometheus) Type() plugins.Type

func (*Prometheus) UnmarshalTOML

func (p *Prometheus) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Redis

type Redis struct {
	Servers  []string `json:"servers"`
	Password string   `json:"password"`
	// contains filtered or unexported fields
}

Redis is based on telegraf Redis plugin.

func (*Redis) PluginName

func (r *Redis) PluginName() string

PluginName is based on telegraf plugin name.

func (*Redis) TOML

func (r *Redis) TOML() string

TOML encodes to toml string

func (Redis) Type

func (b Redis) Type() plugins.Type

func (*Redis) UnmarshalTOML

func (r *Redis) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type SwapStats

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

SwapStats is based on telegraf SwapStats.

func (*SwapStats) PluginName

func (s *SwapStats) PluginName() string

PluginName is based on telegraf plugin name.

func (*SwapStats) TOML

func (s *SwapStats) TOML() string

TOML encodes to toml string.

func (SwapStats) Type

func (b SwapStats) Type() plugins.Type

func (*SwapStats) UnmarshalTOML

func (s *SwapStats) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Syslog

type Syslog struct {
	Address string `json:"server"`
	// contains filtered or unexported fields
}

Syslog is based on telegraf Syslog plugin.

func (*Syslog) PluginName

func (s *Syslog) PluginName() string

PluginName is based on telegraf plugin name.

func (*Syslog) TOML

func (s *Syslog) TOML() string

TOML encodes to toml string

func (Syslog) Type

func (b Syslog) Type() plugins.Type

func (*Syslog) UnmarshalTOML

func (s *Syslog) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type SystemStats

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

SystemStats is based on telegraf SystemStats.

func (*SystemStats) PluginName

func (s *SystemStats) PluginName() string

PluginName is based on telegraf plugin name.

func (*SystemStats) TOML

func (s *SystemStats) TOML() string

TOML encodes to toml string

func (SystemStats) Type

func (b SystemStats) Type() plugins.Type

func (*SystemStats) UnmarshalTOML

func (s *SystemStats) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

type Tail

type Tail struct {
	Files []string `json:"files"`
	// contains filtered or unexported fields
}

Tail is based on telegraf Tail plugin.

func (*Tail) PluginName

func (t *Tail) PluginName() string

PluginName is based on telegraf plugin name.

func (*Tail) TOML

func (t *Tail) TOML() string

TOML encodes to toml string

func (Tail) Type

func (b Tail) Type() plugins.Type

func (*Tail) UnmarshalTOML

func (t *Tail) UnmarshalTOML(data interface{}) error

UnmarshalTOML decodes the parsed data to the object

Jump to

Keyboard shortcuts

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