youtube

package
v1.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2022 License: MIT Imports: 7 Imported by: 0

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

func (y *YouTube) Description() string

Description returns the plugin description.

func (*YouTube) Gather

func (y *YouTube) Gather(acc telegraf.Accumulator) error

Gather YouTube Metrics

func (*YouTube) SampleConfig

func (y *YouTube) SampleConfig() string

SampleConfig returns sample configuration for this plugin.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL