Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for replicationStats (0.15 sec)

  1. cmd/bucket-replication-stats.go

    	)
    	for _, bucketStat := range bucketStats {
    		totReplicaSize += bucketStat.ReplicationStats.ReplicaSize
    		totReplicaCount += bucketStat.ReplicationStats.ReplicaCount
    		for _, q := range bucketStat.QueueStats.Nodes {
    			tq = tq.merge(q.QStats)
    		}
    
    		for arn, stat := range bucketStat.ReplicationStats.Stats {
    			oldst := stats[arn]
    			if oldst == nil {
    				oldst = &BucketReplicationStat{
    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/bucket-stats.go

    type BucketStatsMap struct {
    	Stats     map[string]BucketStats
    	Timestamp time.Time
    }
    
    // BucketStats bucket statistics
    type BucketStats struct {
    	Uptime           int64                  `json:"uptime"`
    	ReplicationStats BucketReplicationStats `json:"currStats"`  // current replication stats since cluster startup
    	QueueStats       ReplicationQueueStats  `json:"queueStats"` // replication queue stats
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. cmd/bucket-stats_gen.go

    		case "Uptime":
    			z.Uptime, err = dc.ReadInt64()
    			if err != nil {
    				err = msgp.WrapError(err, "Uptime")
    				return
    			}
    		case "ReplicationStats":
    			err = z.ReplicationStats.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "ReplicationStats")
    				return
    			}
    		case "QueueStats":
    			var zb0002 uint32
    			zb0002, err = dc.ReadMapHeader()
    			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)
  4. cmd/bucket-replication-handlers.go

    	bwMap := bwRpt.BucketStats
    	for arn, st := range stats.ReplicationStats.Stats {
    		for opts, bw := range bwMap {
    			if opts.ReplicationARN != "" && opts.ReplicationARN == arn {
    				st.BandWidthLimitInBytesPerSecond = bw.LimitInBytesPerSecond
    				st.CurrentBandwidthInBytesPerSecond = bw.CurrentBandwidthInBytesPerSecond
    				stats.ReplicationStats.Stats[arn] = st
    			}
    		}
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  5. cmd/notification.go

    		Timestamp: UTCNow(),
    	}
    	for k, replicationStats := range replicationStatsList {
    		bucketStatsMap.Stats[k] = BucketStats{
    			ReplicationStats: replicationStats,
    			ProxyStats:       globalReplicationStats.Load().getProxyStats(k),
    		}
    	}
    
    	replicationStats = append(replicationStats, bucketStatsMap)
    	return replicationStats
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  6. cmd/metrics.go

    			prometheus.GaugeValue,
    			float64(stat.ReplicationStats.ReplicatedSize),
    			bucket,
    		)
    		ch <- prometheus.MustNewConstMetric(
    			prometheus.NewDesc(
    				prometheus.BuildFQName("bucket", "replication", "received_size"),
    				"Total capacity replicated to this instance",
    				[]string{"bucket"}, nil),
    			prometheus.GaugeValue,
    			float64(stat.ReplicationStats.ReplicaSize),
    			bucket,
    		)
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  7. cmd/metrics-v3-bucket-replication.go

    	bucketReplStats := globalReplicationStats.Load().getAllLatest(dataUsageInfo.BucketsUsage)
    	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...)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    func (s *peerRESTServer) GetAllBucketStatsHandler(mss *grid.MSS) (*BucketStatsMap, *grid.RemoteErr) {
    	replicationStats := globalReplicationStats.Load().GetAll()
    	bucketStatsMap := make(map[string]BucketStats, len(replicationStats))
    	for k, v := range replicationStats {
    		bucketStatsMap[k] = BucketStats{
    			ReplicationStats: v,
    			ProxyStats:       globalReplicationStats.Load().getProxyStats(k),
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. cmd/bucket-replication.go

    	var replicationStatus replication.StatusType
    	defer func() {
    		if replicationStatus.Empty() {
    			// replication status is empty means
    			// replication was not attempted for some
    			// reason, notify the state of the object
    			// on disk.
    			replicationStatus = ri.ReplicationStatus
    		}
    		auditLogInternal(ctx, AuditLogOptions{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
  10. cmd/bucket-replication-utils.go

    		UserTags:             oi.UserTags,
    	}
    	if r.SSEC {
    		r.Checksum = oi.Checksum
    	}
    	return r
    }
    
    // ReplicationState - returns replication state using other internal replication metadata in ObjectInfo
    func (o ObjectInfo) ReplicationState() ReplicationState {
    	rs := ReplicationState{
    		ReplicationStatusInternal:  o.ReplicationStatusInternal,
    		VersionPurgeStatusInternal: o.VersionPurgeStatusInternal,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
Back to top