Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for NewRegistry (0.04 seconds)

  1. cmd/metrics-v2.go

    	}
    }
    
    func metricsHTTPHandler(c prometheus.Collector, funcName string) http.Handler {
    	registry := prometheus.NewRegistry()
    
    	// Report all other metrics
    	logger.CriticalIf(GlobalContext, registry.Register(c))
    
    	// DefaultGatherers include golang metrics and process metrics.
    	gatherers := prometheus.Gatherers{
    		registry,
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 133.6K bytes
    - Click Count (0)
Back to Top