Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitHubCollector ¶
type GitHubCollector struct {
*collector.BaseCollector
}
func NewGitHubCollector ¶
func NewGitHubCollector() *GitHubCollector
type GitHubRule ¶
type GitHubRule struct {
Repositories []string `label:"Repositories" json:"repositories,required" example:"didi/nightingale" description:"List of repositories to monitor"`
AccessToken string `` /* 131-byte string literal not displayed */
EnterpriseBaseURL string `` /* 150-byte string literal not displayed */
HTTPTimeout int `label:"HTTP timeout" json:"http_timeout" default:"5" description:"Timeout for HTTP requests"`
}
func (*GitHubRule) TelegrafInput ¶
func (p *GitHubRule) TelegrafInput() (telegraf.Input, error)
func (*GitHubRule) Validate ¶
func (p *GitHubRule) Validate() error
Click to show internal directories.
Click to hide internal directories.