Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandRunner ¶
type CommandRunner struct {
// contains filtered or unexported fields
}
CommandRunner runs a command with the ability to kill the process before the timeout.
type Exec ¶
type Exec struct { Command []string `toml:"command"` Environment []string `toml:"environment"` Timeout config.Duration `toml:"timeout"` Log telegraf.Logger `toml:"-"` // contains filtered or unexported fields }
Exec defines the exec output plugin.
func (*Exec) SampleConfig ¶
func (*Exec) SetSerializer ¶
func (e *Exec) SetSerializer(serializer serializers.Serializer)
SetSerializer sets the serializer for the output.
Click to show internal directories.
Click to hide internal directories.