Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Gatherers (0.14 sec)

  1. cmd/metrics-v3.go

    	// Helper function to register a collector and return a gatherer for it.
    	mustRegister := func(c ...prometheus.Collector) prometheus.Gatherer {
    		subRegistry := prometheus.NewRegistry()
    		for _, col := range c {
    			subRegistry.MustRegister(col)
    		}
    		r.MustRegister(subRegistry)
    		return subRegistry
    	}
    
    	// Register all collectors and create gatherers for them.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 17:37:57 GMT 2024
    - 10.7K bytes
    - Viewed (0)
Back to top