Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mgGatherers (0.09 sec)

  1. cmd/metrics-v3.go

    		}
    		r.MustRegister(subRegistry)
    		return subRegistry
    	}
    
    	// Register all collectors and create gatherers for them.
    	gatherers := make(map[collectorPath]prometheus.Gatherer, len(collectors))
    	collectorPaths := make([]collectorPath, 0, len(collectors))
    	for path, collector := range collectors {
    		gatherers[path] = mustRegister(collector)
    		collectorPaths = append(collectorPaths, path)
    	}
    	slices.Sort(collectorPaths)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/metrics.go

    	registry := prometheus.NewRegistry()
    
    	logger.CriticalIf(GlobalContext, registry.Register(minioVersionInfo))
    
    	logger.CriticalIf(GlobalContext, registry.Register(newMinioCollector()))
    
    	gatherers := prometheus.Gatherers{
    		prometheus.DefaultGatherer,
    		registry,
    	}
    
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top