Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewRegistry (0.07 sec)

  1. cmd/metrics-v3-handler.go

    }
    
    var (
    	globalMetricsV3CollectorPaths []collectorPath
    	globalMetricsV3Once           sync.Once
    )
    
    func newMetricsV3Server(auth func(h http.Handler) http.Handler) *metricsV3Server {
    	registry := prometheus.NewRegistry()
    	metricGroups := newMetricGroups(registry)
    	globalMetricsV3Once.Do(func() {
    		globalMetricsV3CollectorPaths = metricGroups.collectorPaths
    	})
    	return &metricsV3Server{
    		registry: registry,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 15 16:28:02 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top