github

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GitHub

type GitHub struct {
	Repos       []string `toml:"repos"`
	APIBaseURL  string   `toml:"api_base_url"`
	AccessToken string   `toml:"access_token"`

	Timeout int  `toml:"timeout"`
	Debug   bool `toml:"debug"`

	Log telegraf.Logger
}

func NewGitHub

func NewGitHub() *GitHub

func (*GitHub) Description

func (plugin *GitHub) Description() string

func (*GitHub) Gather

func (plugin *GitHub) Gather(a telegraf.Accumulator) error

func (*GitHub) SampleConfig

func (plugin *GitHub) SampleConfig() string

Jump to

Keyboard shortcuts

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