Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for hasReplicationUsage (0.12 sec)

  1. cmd/metrics-v3-bucket-replication.go

    	for _, bucket := range buckets {
    		labels := []string{bucketL, bucket}
    		if s, ok := bucketReplStats[bucket]; ok {
    			stats := s.ReplicationStats
    			if stats.hasReplicationUsage() {
    				for arn, stat := range stats.Stats {
    					m.Set(bucketReplLastHrFailedBytes, float64(stat.Failed.LastHour.Bytes), labels...)
    					m.Set(bucketReplLastHrFailedCount, float64(stat.Failed.LastHour.Count), 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)
  2. cmd/bucket-replication-stats.go

    	"context"
    	"sync"
    	"sync/atomic"
    	"time"
    
    	"github.com/minio/minio/internal/bucket/replication"
    	"github.com/rcrowley/go-metrics"
    )
    
    func (b *BucketReplicationStats) hasReplicationUsage() bool {
    	for _, s := range b.Stats {
    		if s.hasReplicationUsage() {
    			return true
    		}
    	}
    	return false
    }
    
    // ReplicationStats holds the global in-memory replication stats
    type ReplicationStats struct {
    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/bucket-stats.go

    	PendingCount int64 `json:"pendingReplicationCount"`
    	// Total number of failed operations including metadata updates
    	FailedCount int64 `json:"failedReplicationCount"`
    }
    
    func (bs *BucketReplicationStat) hasReplicationUsage() bool {
    	return bs.FailStats.SinceUptime.Count > 0 ||
    		bs.ReplicatedSize > 0 ||
    		bs.ReplicaSize > 0
    }
    
    func (bs *BucketReplicationStat) updateXferRate(sz int64, duration time.Duration) {
    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-v2.go

    						Description: getClusterReplProxiedRmvTaggingFailedOperationsMD(bucketMetricNamespace),
    						Value:       float64(s.ProxyStats.RmvTagFailedTotal),
    					})
    				}
    				if stats.hasReplicationUsage() {
    					for arn, stat := range stats.Stats {
    						metrics = append(metrics, MetricV2{
    							Description:    getRepFailedBytesLastMinuteMD(bucketMetricNamespace),
    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