summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--metrics.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/metrics.go b/metrics.go
index 55fb0a3..ab9d797 100644
--- a/metrics.go
+++ b/metrics.go
@@ -6,12 +6,13 @@ import (
"strings"
"github.com/prometheus/client_golang/prometheus"
+ "github.com/prometheus/client_golang/prometheus/collectors"
"github.com/prometheus/client_golang/prometheus/promauto"
)
// define and register the metrics used in this package.
func init() {
- prometheus.MustRegister(prometheus.NewBuildInfoCollector())
+ prometheus.MustRegister(collectors.NewBuildInfoCollector())
const ns, sub = "caddy", "admin"