Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for lastMinute (0.24 sec)

  1. cmd/bucket-stats.go

    type ReplicationLastMinute struct {
    	LastMinute lastMinuteLatency
    }
    
    func (rl ReplicationLastMinute) merge(other ReplicationLastMinute) (nl ReplicationLastMinute) {
    	nl = ReplicationLastMinute{rl.LastMinute.merge(other.LastMinute)}
    	return
    }
    
    func (rl *ReplicationLastMinute) addsize(n int64) {
    	t := time.Now().Unix()
    	rl.LastMinute.addAll(t-1, AccElem{Total: t - 1, Size: n, 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)
  2. cmd/metrics-realtime.go

    			for k, v := range d.Metrics.APICalls {
    				if v != 0 {
    					dm.LifeTimeOps[k] = v
    				}
    			}
    			dm.LastMinute.Operations = make(map[string]madmin.TimedAction, len(d.Metrics.APICalls))
    			for k, v := range d.Metrics.LastMinute {
    				if v.Count != 0 {
    					dm.LastMinute.Operations[k] = v
    				}
    			}
    		}
    
    		st, err := disk.GetDriveStats(d.Major, d.Minor)
    		if err == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jun 01 05:16:24 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. cmd/erasure.go

    			if hi := disks[index].Healing(); hi != nil {
    				hd := hi.toHealingDisk()
    				di.HealInfo = &hd
    			}
    			di.Metrics = &madmin.DiskMetrics{
    				LastMinute:              make(map[string]madmin.TimedAction, len(info.Metrics.LastMinute)),
    				APICalls:                make(map[string]uint64, len(info.Metrics.APICalls)),
    				TotalErrorsAvailability: info.Metrics.TotalErrorsAvailability,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. cmd/metrics-v3-bucket-replication.go

    					m.Set(bucketReplLastHrFailedCount, float64(stat.Failed.LastHour.Count), labels...)
    					m.Set(bucketReplLastMinFailedBytes, float64(stat.Failed.LastMinute.Bytes), labels...)
    					m.Set(bucketReplLastMinFailedCount, float64(stat.Failed.LastMinute.Count), labels...)
    					m.Set(bucketReplProxiedDeleteTaggingRequestsTotal, float64(s.ProxyStats.RmvTagTotal), labels...)
    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/storage-datatypes_gen.go

    		switch msgp.UnsafeString(field) {
    		case "LastMinute":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			if err != nil {
    				err = msgp.WrapError(err, "LastMinute")
    				return
    			}
    			if z.LastMinute == nil {
    				z.LastMinute = make(map[string]AccElem, zb0002)
    			} else if len(z.LastMinute) > 0 {
    				for key := range z.LastMinute {
    					delete(z.LastMinute, key)
    				}
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  6. cmd/xl-storage-disk-id-check.go

    		cachevalue.Opts{},
    		func(ctx context.Context) (DiskMetrics, error) {
    			diskMetric := DiskMetrics{
    				LastMinute: make(map[string]AccElem, len(p.apiLatencies)),
    				APICalls:   make(map[string]uint64, len(p.apiCalls)),
    			}
    			for i, v := range p.apiLatencies {
    				diskMetric.LastMinute[storageMetric(i).String()] = v.total()
    			}
    			for i := range p.apiCalls {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:56:26 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  7. cmd/metrics-v2.go

    					Value:          float64(stat.Failed.LastMinute.Bytes),
    					VariableLabels: map[string]string{"endpoint": stat.Endpoint},
    				})
    				ml = append(ml, MetricV2{
    					Description:    getRepFailedOperationsLastMinuteMD(clusterMetricNamespace),
    					Value:          stat.Failed.LastMinute.Count,
    					VariableLabels: map[string]string{"endpoint": stat.Endpoint},
    				})
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  8. cmd/storage-datatypes.go

    }
    
    // DiskMetrics has the information about XL Storage APIs
    // the number of calls of each API and the moving average of
    // the duration of each API.
    type DiskMetrics struct {
    	LastMinute              map[string]AccElem `json:"apiLatencies,omitempty"`
    	APICalls                map[string]uint64  `json:"apiCalls,omitempty"`
    	TotalWaiting            uint32             `json:"totalWaiting,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top