Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 363 for Totals (0.1 sec)

  1. cmd/last-minute.go

    		merged.LastSec = l.LastSec
    	} else {
    		l.forwardTo(o.LastSec)
    		merged.LastSec = o.LastSec
    	}
    
    	for i := range merged.Totals {
    		merged.Totals[i] = AccElem{
    			Total: l.Totals[i].Total + o.Totals[i].Total,
    			N:     l.Totals[i].N + o.Totals[i].N,
    			Size:  l.Totals[i].Size + o.Totals[i].Size,
    		}
    	}
    	return merged
    }
    
    // Add  a new duration data
    func (l *lastMinuteLatency) add(t time.Duration) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 05 17:40:45 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  2. cmd/last-minute_gen.go

    								return
    							}
    						case "Size":
    							z[za0001].Totals[za0002].Size, err = dc.ReadInt64()
    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002, "Size")
    								return
    							}
    						case "N":
    							z[za0001].Totals[za0002].N, err = dc.ReadInt64()
    							if err != nil {
    								err = msgp.WrapError(err, za0001, "Totals", za0002, "N")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 17.2K bytes
    - Viewed (0)
  3. cmd/bucket-stats.go

    		merged.Totals[i] = AccElem{
    			Total: l.Totals[i].Total + o.Totals[i].Total,
    			N:     l.Totals[i].N + o.Totals[i].N,
    			Size:  l.Totals[i].Size + o.Totals[i].Size,
    		}
    	}
    	return merged
    }
    
    // Add  a new duration data
    func (l *ReplicationLastHour) addsize(sz int64) {
    	min := time.Now().Unix() / 60
    	l.forwardTo(min)
    	winIdx := min % 60
    	l.Totals[winIdx].merge(AccElem{Total: min, Size: sz, N: 1})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. cmd/metrics-v3-bucket-replication.go

    		"Total number of bytes failed at least once to replicate in the last hour on a bucket",
    		bucketL)
    	bucketReplLastHrFailedCountMD = NewGaugeMD(bucketReplLastHrFailedCount,
    		"Total number of objects which failed replication in the last hour on a bucket",
    		bucketL)
    	bucketReplLastMinFailedBytesMD = NewGaugeMD(bucketReplLastMinFailedBytes,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  5. cmd/bucket-stats_gen.go

    		}
    		switch msgp.UnsafeString(field) {
    		case "Totals":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "Totals")
    				return
    			}
    			if zb0002 != uint32(60) {
    				err = msgp.ArrayError{Wanted: uint32(60), Got: zb0002}
    				return
    			}
    			for za0001 := range z.Totals {
    				err = z.Totals[za0001].DecodeMsg(dc)
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  6. cmd/site-replication-metrics.go

    	}
    	for k, v := range o.ErrCounts {
    		n.ErrCounts[k] += v
    	}
    	return n
    }
    
    // SRStats has replication stats at site level
    type SRStats struct {
    	// Total Replica size in bytes
    	ReplicaSize int64 `json:"replicaSize"`
    	// Total Replica received
    	ReplicaCount int64                `json:"replicaCount"`
    	M            map[string]*SRStatus `json:"srStatusMap"`
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. cmd/erasure.go

    				if v.N > 0 {
    					di.Metrics.LastMinute[k] = v.asTimedAction()
    				}
    			}
    			for k, v := range info.Metrics.APICalls {
    				di.Metrics.APICalls[k] = v
    			}
    			if info.Total > 0 {
    				di.Utilization = float64(info.Used / info.Total * 100)
    			}
    			disksInfo[index] = di
    			return nil
    		}, index)
    	}
    
    	g.Wait()
    	return disksInfo
    }
    
    // Get an aggregated storage info across all disks.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. cmd/data-scanner.go

    			f.newCache.replaceHashed(thisHash, folder.parent, *flat)
    			total := map[string]string{
    				"objects": strconv.FormatUint(flat.Objects, 10),
    				"size":    strconv.FormatInt(flat.Size, 10),
    			}
    			if flat.Versions > 0 {
    				total["versions"] = strconv.FormatUint(flat.Versions, 10)
    			}
    			stop(total)
    		}
    
    	}
    	// Compact if too many children...
    	if !into.Compacted {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
  9. cmd/background-newdisks-heal-ops.go

    		if a != b {
    			return a
    		}
    		return buckets[i].Created.After(buckets[j].Created)
    	})
    
    	// Load bucket totals
    	cache := dataUsageCache{}
    	if err := cache.load(ctx, z.serverPools[poolIdx].sets[setIdx], dataUsageCacheName); err == nil {
    		dataUsageInfo := cache.dui(dataUsageRoot, nil)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  10. cmd/metrics-v2.go

    		Subsystem: bucketsSubsystem,
    		Name:      total,
    		Help:      "Total number of buckets in the cluster",
    		Type:      gaugeMetric,
    	}
    }
    
    func getClusterCapacityTotalBytesMD() MetricDescription {
    	return MetricDescription{
    		Namespace: clusterMetricNamespace,
    		Subsystem: capacityRawSubsystem,
    		Name:      totalBytes,
    		Help:      "Total capacity online in the cluster",
    		Type:      gaugeMetric,
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top