Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for loadClusterErasureSetMetrics (0.11 sec)

  1. cmd/metrics-v3-cluster-erasure-set.go

    		poolIDL, setIDL)
    )
    
    func b2f(v bool) float64 {
    	if v {
    		return 1
    	}
    	return 0
    }
    
    // loadClusterErasureSetMetrics - `MetricsLoaderFn` for cluster storage erasure
    // set metrics.
    func loadClusterErasureSetMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	result, _ := c.esetHealthResult.Get()
    
    	m.Set(erasureSetOverallWriteQuorum, float64(result.WriteQuorum))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue May 14 07:25:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top