Rename forward metrics socket_count_total to sockets_open (#1885)

The prometheus naming convention states only counters should have a
`_total` suffix, so that gagues and counters can be easily
distinguished.
This commit is contained in:
Tobias Schmidt
2018-06-20 12:35:57 +02:00
committed by Miek Gieben
parent 41c724780f
commit e3534205c7

View File

@@ -44,7 +44,7 @@ var (
SocketGauge = prometheus.NewGaugeVec(prometheus.GaugeOpts{
Namespace: plugin.Namespace,
Subsystem: "forward",
Name: "socket_count_total",
Name: "sockets_open",
Help: "Gauge of open sockets per upstream.",
}, []string{"to"})
)