Versions in this module Expand all Collapse all v0 v0.0.1 Jan 1, 2026 Changes in this version + type CommandRunner struct + func (c *CommandRunner) Run(timeout time.Duration, command, environments []string, buffer io.Reader) error + type Exec struct + Command []string + Environment []string + Log telegraf.Logger + Timeout config.Duration + UseBatchFormat bool + func (*Exec) Close() error + func (*Exec) Connect() error + func (*Exec) SampleConfig() string + func (e *Exec) Init() error + func (e *Exec) SetSerializer(serializer telegraf.Serializer) + func (e *Exec) Write(metrics []telegraf.Metric) error + type Runner interface + Run func(time.Duration, []string, []string, io.Reader) error