Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NSQConsumer ¶
type NSQConsumer struct {
Nsqd []string `toml:"nsqd"`
Nsqlookupd []string `toml:"nsqlookupd"`
Topic string `toml:"topic"`
Channel string `toml:"channel"`
MaxInFlight int `toml:"max_in_flight"`
MaxUndeliveredMessages int `toml:"max_undelivered_messages"`
Log telegraf.Logger `toml:"-"`
// contains filtered or unexported fields
}
func (*NSQConsumer) Gather ¶
func (*NSQConsumer) Gather(telegraf.Accumulator) error
func (*NSQConsumer) Init ¶
func (n *NSQConsumer) Init() error
func (*NSQConsumer) SampleConfig ¶
func (*NSQConsumer) SampleConfig() string
func (*NSQConsumer) SetParser ¶
func (n *NSQConsumer) SetParser(parser telegraf.Parser)
SetParser takes the data_format from the config and finds the right parser for that format
func (*NSQConsumer) Start ¶
func (n *NSQConsumer) Start(ac telegraf.Accumulator) error
func (*NSQConsumer) Stop ¶
func (n *NSQConsumer) Stop()
Click to show internal directories.
Click to hide internal directories.