mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
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:
committed by
Miek Gieben
parent
41c724780f
commit
e3534205c7
@@ -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"})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user