diff --git a/collector/tcp.go b/collector/tcp.go index 44a68712..3400fd59 100644 --- a/collector/tcp.go +++ b/collector/tcp.go @@ -136,7 +136,7 @@ func (c *TCPCollector) collect(ch chan<- prometheus.Metric) (*prometheus.Desc, e ) ch <- prometheus.MustNewConstMetric( c.ConnectionsEstablished, - prometheus.CounterValue, + prometheus.GaugeValue, float64(dst[0].ConnectionsEstablished), ) ch <- prometheus.MustNewConstMetric(