Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHub ¶
type GitHub struct { Repositories []string `toml:"repositories"` AccessToken string `toml:"access_token"` EnterpriseBaseURL string `toml:"enterprise_base_url"` HTTPTimeout internal.Duration `toml:"http_timeout"` RateLimit selfstat.Stat RateLimitErrors selfstat.Stat RateRemaining selfstat.Stat // contains filtered or unexported fields }
GitHub - plugin main structure
func (*GitHub) Description ¶
Description returns the plugin description.
func (*GitHub) Gather ¶
func (g *GitHub) Gather(acc telegraf.Accumulator) error
Gather GitHub Metrics
func (*GitHub) SampleConfig ¶
SampleConfig returns sample configuration for this plugin.
Click to show internal directories.
Click to hide internal directories.