Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PubSub ¶
type PubSub struct {
CredentialsFile string `toml:"credentials_file"`
Project string `toml:"project"`
Topic string `toml:"topic"`
Attributes map[string]string `toml:"attributes"`
SendBatched bool `toml:"send_batched"`
PublishCountThreshold int `toml:"publish_count_threshold"`
PublishByteThreshold int `toml:"publish_byte_threshold"`
PublishNumGoroutines int `toml:"publish_num_go_routines"`
PublishTimeout config.Duration `toml:"publish_timeout"`
Base64Data bool `toml:"base64_data"`
Log telegraf.Logger `toml:"-"`
// contains filtered or unexported fields
}
func (*PubSub) Description ¶
func (*PubSub) SampleConfig ¶
func (*PubSub) SetSerializer ¶
func (ps *PubSub) SetSerializer(serializer serializers.Serializer)
Click to show internal directories.
Click to hide internal directories.