aboutsummaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorGravatar Ondřej Benkovský <ondrej.benkovsky@jamf.com> 2022-06-13 16:30:34 +0200
committerGravatar GitHub <noreply@github.com> 2022-06-13 07:30:34 -0700
commitdcc3d760181ba48c8361304c383e92252b6002c7 (patch)
tree548b9807ab16f94bd051177c59c5443f754982ae /plugin
parent1784c737fa0f38777bffbbe40f2ba6086da2615c (diff)
downloadcoredns-dcc3d760181ba48c8361304c383e92252b6002c7.tar.gz
coredns-dcc3d760181ba48c8361304c383e92252b6002c7.tar.zst
coredns-dcc3d760181ba48c8361304c383e92252b6002c7.zip
remove unused coredns_forward_sockets_open metric (#5431)
Signed-off-by: Ondřej Benkovský <ondrej.benkovsky@jamf.com>
Diffstat (limited to 'plugin')
-rw-r--r--plugin/forward/metrics.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/plugin/forward/metrics.go b/plugin/forward/metrics.go
index 9519c3c9b..f1f0c48d6 100644
--- a/plugin/forward/metrics.go
+++ b/plugin/forward/metrics.go
@@ -40,12 +40,6 @@ var (
Name: "healthcheck_broken_total",
Help: "Counter of the number of complete failures of the healthchecks.",
})
- SocketGauge = promauto.NewGaugeVec(prometheus.GaugeOpts{
- Namespace: plugin.Namespace,
- Subsystem: "forward",
- Name: "sockets_open",
- Help: "Gauge of open sockets per upstream.",
- }, []string{"to"})
MaxConcurrentRejectCount = promauto.NewCounter(prometheus.CounterOpts{
Namespace: plugin.Namespace,
Subsystem: "forward",