Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YouTube ¶
type YouTube struct { Channels []string `toml:"channels"` Videos []string `toml:"videos"` APIKey string `toml:"api_key"` // contains filtered or unexported fields }
YouTube - plugin main structure
func (*YouTube) Description ¶
Description returns the plugin description.
func (*YouTube) Gather ¶
func (y *YouTube) Gather(acc telegraf.Accumulator) error
Gather YouTube Metrics
func (*YouTube) SampleConfig ¶
SampleConfig returns sample configuration for this plugin.
Click to show internal directories.
Click to hide internal directories.