Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for vnopts (0.16 sec)

  1. cmd/metrics-v2.go

    	}
    }
    
    func getClusterHealthMetrics(opts MetricsGroupOpts) *MetricsGroupV2 {
    	mg := &MetricsGroupV2{
    		cacheInterval:    10 * time.Second,
    		metricsGroupOpts: opts,
    	}
    	mg.RegisterRead(func(ctx context.Context) (metrics []MetricV2) {
    		objLayer := newObjectLayerFn()
    
    		opts := HealthOptions{}
    		result := objLayer.Health(ctx, opts)
    
    		metrics = make([]MetricV2, 0, 2+4*len(result.ESHealth))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
Back to top