We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0e9c1d commit 9b6f3d1Copy full SHA for 9b6f3d1
pkg/metrics/registry.go
@@ -18,6 +18,13 @@ package metrics
18
19
import "github.com/prometheus/client_golang/prometheus"
20
21
+// RegistererGatherer combines both parts of the API of a Prometheus
22
+// registry, both the Registerer and the Gatherer interfaces.
23
+type RegistererGatherer interface {
24
+ prometheus.Registerer
25
+ prometheus.Gatherer
26
+}
27
+
28
// Registry is a prometheus registry for storing metrics within the
29
// controller-runtime
-var Registry = prometheus.NewRegistry()
30
+var Registry RegistererGatherer = prometheus.NewRegistry()
0 commit comments