This commit is contained in:
Thibault Cohen
2016-06-23 03:59:14 -04:00
committed by Cameron Sparr
parent 7825df4771
commit b18134a4e3
2 changed files with 2 additions and 0 deletions

View File

@@ -88,6 +88,7 @@ func (p *Prometheus) gatherURL(url string, acc telegraf.Accumulator) error {
InsecureSkipVerify: p.InsecureSkipVerify,
},
ResponseHeaderTimeout: time.Duration(3 * time.Second),
DisableKeepAlives: true,
}
if p.BearerToken != "" {