Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NewGoCollector (0.18 sec)

  1. cmd/metrics-v3.go

    	// we also have standard collectors like `GoCollector`.
    
    	// Create all Non-`MetricGroup` collectors here.
    	collectors := map[collectorPath]prometheus.Collector{
    		debugGoCollectorPath: collectors.NewGoCollector(),
    	}
    
    	// Add all `MetricGroup` collectors to the map.
    	for _, mg := range allMetricGroups {
    		collectors[mg.CollectorPath] = mg
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 06 09:36:25 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		Namespace:    minioNamespace,
    		ReportErrors: true,
    	})); err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	if err := registry.Register(prometheus.NewGoCollector()); err != nil {
    		logger.CriticalIf(GlobalContext, err)
    	}
    	gatherers := prometheus.Gatherers{
    		registry,
    	}
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top