Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for avgRate (0.08 sec)

  1. cmd/bucket-replication-metrics.go

    	q.histCounts.Update(atomic.LoadInt64(&q.nowCount))
    }
    
    // XferStats has transfer stats for replication
    type XferStats struct {
    	Curr    float64          `json:"currRate" msg:"cr"`
    	Avg     float64          `json:"avgRate" msg:"av"`
    	Peak    float64          `json:"peakRate" msg:"p"`
    	N       int64            `json:"n" msg:"n"`
    	measure *rateMeasurement `json:"-"`
    	sma     *SMA             `json:"-"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. cmd/metrics-resource.go

    		Value:          rm.Current,
    		VariableLabels: cloneMSS(rm.Labels),
    	})
    
    	if requireAvgMax {
    		avgName := MetricName(fmt.Sprintf("%s_avg", name))
    		avgHelp := fmt.Sprintf("%s (avg)", help)
    		metrics = append(metrics, MetricV2{
    			Description:    getResourceMetricDescription(subSys, avgName, avgHelp),
    			Value:          math.Round(rm.Avg*100) / 100,
    			VariableLabels: cloneMSS(rm.Labels),
    		})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top