Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Twitter ¶
type Twitter struct { Accounts []int64 `toml:"accounts"` ConsumerKey string `toml:"consumer_key"` ConsumerSecret string `toml:"consumer_secret"` AccessToken string `toml:"access_token"` AccessTokenSecret string `toml:"access_token_secret"` HTTPTimeout config.Duration `toml:"http_timeout"` // contains filtered or unexported fields }
Twitter - plugin main structure
func (*Twitter) Description ¶
Description returns the plugin description.
func (*Twitter) Gather ¶
func (t *Twitter) Gather(acc telegraf.Accumulator) error
Gather Twitter Metrics
func (*Twitter) SampleConfig ¶
SampleConfig returns sample configuration for this plugin.
Click to show internal directories.
Click to hide internal directories.