We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0e9c1d commit 73738b2Copy full SHA for 73738b2
1 file changed
pkg/metrics/registry.go
@@ -18,6 +18,11 @@ package metrics
18
19
import "github.com/prometheus/client_golang/prometheus"
20
21
+type RegistererGatherer interface {
22
+ prometheus.Registerer
23
+ prometheus.Gatherer
24
+}
25
+
26
// Registry is a prometheus registry for storing metrics within the
27
// controller-runtime
-var Registry = prometheus.NewRegistry()
28
+var Registry RegistererGatherer = prometheus.NewRegistry()
0 commit comments