Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for metricsGroups (0.31 sec)

  1. cmd/metrics-resource.go

    	go publish(ReportMetrics(GlobalContext, c.metricsGroups))
    	go publish(globalNotificationSys.GetResourceMetrics(GlobalContext))
    	wg.Wait()
    }
    
    // newMinioResourceCollector describes the collector
    // and returns reference of minio resource Collector
    // It creates the Prometheus Description which is used
    // to define Metric and  help string
    func newMinioResourceCollector(metricsGroups []*MetricsGroupV2) *minioResourceCollector {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    	}
    }
    
    //msgp:ignore minioBucketCollector
    type minioBucketCollector struct {
    	metricsGroups []*MetricsGroupV2
    	desc          *prometheus.Desc
    }
    
    func newMinioBucketCollector(metricsGroups []*MetricsGroupV2) *minioBucketCollector {
    	return &minioBucketCollector{
    		metricsGroups: metricsGroups,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/metrics-v3-handler.go

    		authFn = NoAuthMiddleware
    	}
    
    	metricGroups := newMetricGroups(registry)
    
    	return &metricsV3Server{
    		registry: registry,
    		opts: promhttp.HandlerOpts{
    			ErrorLog:            promLogger{},
    			ErrorHandling:       promhttp.HTTPErrorOnError,
    			Registry:            registry,
    			MaxRequestsInFlight: 2,
    		},
    		authFn: authFn,
    
    		metricsData: metricGroups,
    	}
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  4. cmd/metrics-v3-types.go

    }
    
    // NewMetricsGroup creates a new MetricsGroup. To create a metrics group for
    // metrics with a `bucket` dimension (label), use `NewBucketMetricsGroup`.
    //
    // The `loader` function loads metrics from the cache and the system.
    func NewMetricsGroup(path collectorPath, descriptors []MetricDescriptor,
    	loader MetricsLoaderFn,
    ) *MetricsGroup {
    	mg := &MetricsGroup{
    		CollectorPath: path,
    		Descriptors:   descriptors,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  5. cmd/metrics-v3.go

    )
    
    const (
    	clusterBasePath = "/cluster"
    )
    
    type metricsV3Collection struct {
    	mgMap       map[collectorPath]*MetricsGroup
    	bucketMGMap map[collectorPath]*MetricsGroup
    
    	// Gatherers for non-bucket MetricsGroup's
    	mgGatherers map[collectorPath]prometheus.Gatherer
    
    	collectorPaths []collectorPath
    }
    
    func newMetricGroups(r *prometheus.Registry) *metricsV3Collection {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 16:07:23 GMT 2024
    - 10K bytes
    - Viewed (0)
Back to top