Commit e3534205 authored by Tobias Schmidt's avatar Tobias Schmidt Committed by Miek Gieben

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.
parent 41c72478
......@@ -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"})
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment