Documentation ¶
Overview ¶
https://pkg.go.dev/github.com/bndr/gojenkins?utm_source=godoc#Jenkins.GetJob https://www.influxdata.com/blog/collecting-data-from-chess-com-writing-your-own-telegraf-plugin/
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Jenkins ¶
type Jenkins struct { URL string Username string Password string Source string Port string // HTTP Timeout specified as a string - 3s, 1m, 1h ResponseTimeout config.Duration tls.ClientConfig Log telegraf.Logger MaxConnections int `toml:"max_connections"` MaxBuildAge config.Duration `toml:"max_build_age"` MaxSubJobDepth int `toml:"max_subjob_depth"` MaxSubJobPerLayer int `toml:"max_subjob_per_layer"` JobExclude []string `toml:"job_exclude"` JobInclude []string `toml:"job_include"` NodeExclude []string `toml:"node_exclude"` NodeInclude []string `toml:"node_include"` // contains filtered or unexported fields }
Jenkins plugin gathers information about the nodes and jobs running in a jenkins instance.
func (*Jenkins) Gather ¶
func (j *Jenkins) Gather(acc telegraf.Accumulator) error
Gather implements telegraf.Input interface
func (*Jenkins) SampleConfig ¶
Click to show internal directories.
Click to hide internal directories.