Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TcpListener ¶
type TcpListener struct { ServiceAddress string AllowedPendingMessages int MaxTCPConnections int `toml:"max_tcp_connections"` sync.Mutex MaxConnections selfstat.Stat CurrentConnections selfstat.Stat TotalConnections selfstat.Stat PacketsRecv selfstat.Stat BytesRecv selfstat.Stat Log telegraf.Logger // contains filtered or unexported fields }
func (*TcpListener) Description ¶
func (t *TcpListener) Description() string
func (*TcpListener) Gather ¶
func (t *TcpListener) Gather(_ telegraf.Accumulator) error
All the work is done in the Start() function, so this is just a dummy function.
func (*TcpListener) SampleConfig ¶
func (t *TcpListener) SampleConfig() string
func (*TcpListener) SetParser ¶
func (t *TcpListener) SetParser(parser parsers.Parser)
func (*TcpListener) Start ¶
func (t *TcpListener) Start(acc telegraf.Accumulator) error
Start starts the tcp listener service.
Click to show internal directories.
Click to hide internal directories.