From 2d7dfd13458c0d82671c03dc54f3aa0110a49a05 Mon Sep 17 00:00:00 2001 From: "Joshua C. Forest" Date: Mon, 7 Nov 2016 15:32:40 -0500 Subject: [PATCH] an earlier merge accidentally removed this line, adding it back in --- nginx_exporter.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx_exporter.go b/nginx_exporter.go index 514a489..429b407 100644 --- a/nginx_exporter.go +++ b/nginx_exporter.go @@ -162,6 +162,7 @@ func (e *Exporter) Collect(ch chan<- prometheus.Metric) { e.scrapeFailures.Inc() e.scrapeFailures.Collect(ch) } + e.currentConnections.Collect(ch) return }