Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for toMetric (0.11 sec)

  1. cmd/site-replication-metrics.go

    	ErrCounts map[string]int `json:"errCounts"` // Count of credential errors
    }
    
    func (rt *RTimedMetrics) String() string {
    	s := rt.toMetric()
    	return fmt.Sprintf("Errors in LastMinute: %v, LastHour: %v, SinceUptime: %v", s.LastMinute.Count, s.LastHour.Count, s.Totals.Count)
    }
    
    func (rt *RTimedMetrics) toMetric() madmin.TimedErrStats {
    	if rt == nil {
    		return madmin.TimedErrStats{}
    	}
    	errCounts := make(map[string]int)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  2. cmd/bucket-replication-stats.go

    			fstats := stat.FailStats.merge(oldst.FailStats)
    			lrg := oldst.XferRateLrg.merge(*stat.XferRateLrg)
    			sml := oldst.XferRateSml.merge(*stat.XferRateSml)
    			stats[arn] = &BucketReplicationStat{
    				Failed:          fstats.toMetric(),
    				FailStats:       fstats,
    				ReplicatedSize:  stat.ReplicatedSize + oldst.ReplicatedSize,
    				ReplicatedCount: stat.ReplicatedCount + oldst.ReplicatedCount,
    				Latency:         stat.Latency.merge(oldst.Latency),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    	for promMetric := range ch {
    		dtoMetric := &dto.Metric{}
    		err := promMetric.Write(dtoMetric)
    		if err != nil {
    			// Log error and continue to receive other metric
    			// values
    			bugLogIf(GlobalContext, err)
    			continue
    		}
    
    		h := dtoMetric.GetHistogram()
    		for _, b := range h.Bucket {
    			labels := make(map[string]string)
    			for _, lp := range dtoMetric.GetLabel() {
    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