Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetTotal (0.05 sec)

  1. cmd/bucket-stats.go

    }
    
    func (rl *ReplicationLastMinute) String() string {
    	t := rl.LastMinute.getTotal()
    	return fmt.Sprintf("ReplicationLastMinute sz= %d, n=%d , dur=%d", t.Size, t.N, t.Total)
    }
    
    func (rl *ReplicationLastMinute) getTotal() AccElem {
    	return rl.LastMinute.getTotal()
    }
    
    // ReplicationLastHour keeps track of replication counts over the last hour
    type ReplicationLastHour struct {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. cmd/site-replication-metrics.go

    	if rt == nil {
    		return madmin.TimedErrStats{}
    	}
    	errCounts := make(map[string]int)
    	maps.Copy(errCounts, rt.ErrCounts)
    	minuteTotals := rt.LastMinute.getTotal()
    	hourTotals := rt.LastHour.getTotal()
    	return madmin.TimedErrStats{
    		LastMinute: madmin.RStat{
    			Count: float64(minuteTotals.N),
    			Bytes: minuteTotals.Size,
    		},
    		LastHour: madmin.RStat{
    			Count: float64(hourTotals.N),
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  3. cmd/bucket-targets.go

    	avg     time.Duration
    	peak    time.Duration
    	N       int64
    }
    
    func (l *latencyStat) update(d time.Duration) {
    	l.lastmin.add(d)
    	l.N++
    	if d > l.peak {
    		l.peak = d
    	}
    	l.curr = l.lastmin.getTotal().avg()
    	l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N)
    }
    
    // epHealth struct represents health of a replication target endpoint.
    type epHealth struct {
    	Endpoint        string
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    					})
    				}
    			}
    			ml = append(ml, MetricV2{
    				Description: getClusterReplProxiedGetOperationsMD(clusterMetricNamespace),
    				Value:       float64(m.Proxied.GetTotal),
    			})
    			ml = append(ml, MetricV2{
    				Description: getClusterReplProxiedHeadOperationsMD(clusterMetricNamespace),
    				Value:       float64(m.Proxied.HeadTotal),
    			})
    			ml = append(ml, MetricV2{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 133.4K bytes
    - Viewed (0)
Back to top