Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultAuthMethod = "PLAIN" DefaultPrefetchCount = 50 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AMQPConsumer ¶
type AMQPConsumer struct { URL string // AMQP exchange Exchange string // Queue Name Queue string // Binding Key BindingKey string `toml:"binding_key"` // Controls how many messages the server will try to keep on the network // for consumers before receiving delivery acks. PrefetchCount int // AMQP Auth method AuthMethod string // Path to CA file SSLCA string `toml:"ssl_ca"` // Path to host cert file SSLCert string `toml:"ssl_cert"` // Path to cert key file SSLKey string `toml:"ssl_key"` // Use SSL but skip chain & host verification InsecureSkipVerify bool // contains filtered or unexported fields }
AMQPConsumer is the top level struct for this plugin
func (*AMQPConsumer) Description ¶
func (a *AMQPConsumer) Description() string
func (*AMQPConsumer) Gather ¶
func (a *AMQPConsumer) Gather(_ telegraf.Accumulator) error
All gathering is done in the Start function
func (*AMQPConsumer) SampleConfig ¶
func (a *AMQPConsumer) SampleConfig() string
func (*AMQPConsumer) SetParser ¶
func (a *AMQPConsumer) SetParser(parser parsers.Parser)
func (*AMQPConsumer) Start ¶
func (a *AMQPConsumer) Start(acc telegraf.Accumulator) error
Start satisfies the telegraf.ServiceInput interface
func (*AMQPConsumer) Stop ¶
func (a *AMQPConsumer) Stop()
Click to show internal directories.
Click to hide internal directories.