Set default config values in jenkins input (#5046)
This commit is contained in:
parent
581772a6a5
commit
6d2fb0027c
|
@ -438,6 +438,10 @@ func mapResultCode(s string) int {
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
inputs.Add("jenkins", func() telegraf.Input {
|
inputs.Add("jenkins", func() telegraf.Input {
|
||||||
return &Jenkins{}
|
return &Jenkins{
|
||||||
|
MaxBuildAge: internal.Duration{Duration: time.Duration(time.Hour)},
|
||||||
|
MaxConnections: 5,
|
||||||
|
MaxSubJobPerLayer: 10,
|
||||||
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue