aboutsummaryrefslogtreecommitdiff
path: root/plugin/dnssec/setup.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/dnssec/setup.go')
-rw-r--r--plugin/dnssec/setup.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/dnssec/setup.go b/plugin/dnssec/setup.go
index 0d3dabb0d..675a48d89 100644
--- a/plugin/dnssec/setup.go
+++ b/plugin/dnssec/setup.go
@@ -36,14 +36,11 @@ func setup(c *caddy.Controller) error {
c.OnStartup(func() error {
once.Do(func() {
- metrics.MustRegister(c, cacheSize, cacheCapacity, cacheHits, cacheMisses)
+ metrics.MustRegister(c, cacheSize, cacheHits, cacheMisses)
})
return nil
})
- // Export the capacity for the metrics. This only happens once, because this is a re-load change only.
- cacheCapacity.WithLabelValues("signature").Set(float64(capacity))
-
return nil
}