diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f2439332363d..2edc48a3db159 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -36,6 +36,7 @@ should now look like: - [#1384](https://github.com/influxdata/telegraf/pull/1384): Fix datarace in apache input plugin. - [#1399](https://github.com/influxdata/telegraf/issues/1399): Add `read_repairs` statistics to riak plugin. +- [#1405](https://github.com/influxdata/telegraf/issues/1405): Fix memory/connection leak in prometheus input plugin. ## v1.0 beta 2 [2016-06-21] diff --git a/plugins/inputs/prometheus/prometheus.go b/plugins/inputs/prometheus/prometheus.go index 1c60a363e3f3d..2e975f8be30f2 100644 --- a/plugins/inputs/prometheus/prometheus.go +++ b/plugins/inputs/prometheus/prometheus.go @@ -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 != "" {