Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for toMetric (0.14 sec)

  1. 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)
  2. 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