Rename forward metrics socket_count_total to sockets_open
The prometheus naming convention states only counters should have a
`_total` suffix, so that gagues and counters can be easily
distinguished.
@@ -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"})
)
