diff options
author | 2018-06-20 12:35:57 +0200 | |
---|---|---|
committer | 2018-06-20 11:35:57 +0100 | |
commit | e3534205c7c3a89b09c9a9e2aca1a2159eb9ecde (patch) | |
tree | 2da3a2f5b14bfaf7962479aa802298d2492edd9e /plugin | |
parent | 41c724780f6a4e9e8461b56472660d9ad3e49540 (diff) | |
download | coredns-e3534205c7c3a89b09c9a9e2aca1a2159eb9ecde.tar.gz coredns-e3534205c7c3a89b09c9a9e2aca1a2159eb9ecde.tar.zst coredns-e3534205c7c3a89b09c9a9e2aca1a2159eb9ecde.zip |
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.
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/forward/metrics.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/forward/metrics.go b/plugin/forward/metrics.go index b0368f722..063e2dc00 100644 --- a/plugin/forward/metrics.go +++ b/plugin/forward/metrics.go @@ -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"}) ) |