...

Source file src/edge-infra.dev/pkg/lib/runtime/metrics/registry.go

Documentation: edge-infra.dev/pkg/lib/runtime/metrics

     1  package metrics
     2  
     3  import "github.com/prometheus/client_golang/prometheus"
     4  
     5  // RegistererGatherer combines both parts of the API of a Prometheus
     6  // registry, both the Registerer and the Gatherer interfaces.
     7  type RegistererGatherer interface {
     8  	prometheus.Registerer
     9  	prometheus.Gatherer
    10  }
    11  
    12  // Registry is a prometheus registry for storing metrics within the
    13  // controller-runtime.
    14  var Registry RegistererGatherer = prometheus.NewRegistry()
    15  

View as plain text