Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for bucketStats (0.07 sec)

  1. cmd/bucket-replication-stats.go

    			bucketStat, ok := peerBucketStats.Stats[bucket]
    			if !ok {
    				continue
    			}
    			bucketStats[i] = bucketStat
    		}
    		bucketsReplicationStats[bucket] = r.calculateBucketReplicationStats(bucket, bucketStats)
    	}
    	return bucketsReplicationStats
    }
    
    func (r *ReplicationStats) calculateBucketReplicationStats(bucket string, bucketStats []BucketStats) (bs BucketStats) {
    	if r == nil {
    		bs = BucketStats{
    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-replication-metrics.go

    	srProxyStats ProxyMetric
    	bucketStats  map[string]ProxyMetric
    	sync.RWMutex // mutex for proxy stats
    }
    
    func newProxyStatsCache() proxyStatsCache {
    	return proxyStatsCache{
    		bucketStats: make(map[string]ProxyMetric),
    	}
    }
    
    func (p *proxyStatsCache) inc(bucket string, api replProxyAPI, isErr bool) {
    	p.Lock()
    	defer p.Unlock()
    	v, ok := p.bucketStats[bucket]
    	if !ok {
    		v = ProxyMetric{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  3. internal/bucket/bandwidth/monitor.go

    	CurrentBandwidthInBytesPerSecond float64 `json:"currentBandwidth"`
    }
    
    // BucketBandwidthReport captures the details for all buckets.
    type BucketBandwidthReport struct {
    	BucketStats map[BucketOptions]Details `json:"bucketStats,omitempty"`
    }
    
    // GetReport gets the report for all bucket bandwidth details.
    func (m *Monitor) GetReport(selectBucket SelectionFunction) *BucketBandwidthReport {
    	m.mlock.RLock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Feb 19 22:54:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. cmd/http-stats.go

    	s.RLock()
    	defer s.RUnlock()
    
    	if len(s.stats) == 0 {
    		return nil
    	}
    
    	bucketStats := make(map[string]inOutBytes, len(s.stats))
    	for k, v := range s.stats {
    		bucketStats[k] = inOutBytes{
    			In:  v.s3InputBytes,
    			Out: v.s3OutputBytes,
    		}
    	}
    	return bucketStats
    }
    
    // Return S3 total input/output bytes for each
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. cmd/bucket-stats.go

    		l.Totals[idx] = AccElem{}
    		l.LastMin++
    	}
    }
    
    // BucketStatsMap captures bucket statistics for all buckets
    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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. cmd/notification.go

    		bucketStats = append(bucketStats, BucketStats{
    			ReplicationStats: st.Get(bucketName),
    			QueueStats:       ReplicationQueueStats{Nodes: []ReplQNodeStats{st.getNodeQueueStats(bucketName)}},
    			ProxyStats:       st.getProxyStats(bucketName),
    		})
    	}
    	return bucketStats
    }
    
    // GetClusterSiteMetrics - calls GetClusterSiteMetrics call on all peers for a cluster statistics view.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  7. cmd/bucket-stats_gen.go

    				return
    			}
    			if z.Stats == nil {
    				z.Stats = make(map[string]BucketStats, zb0002)
    			} else if len(z.Stats) > 0 {
    				for key := range z.Stats {
    					delete(z.Stats, key)
    				}
    			}
    			for zb0002 > 0 {
    				zb0002--
    				var za0001 string
    				var za0002 BucketStats
    				za0001, err = dc.ReadString()
    				if err != nil {
    					err = msgp.WrapError(err, "Stats")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Feb 06 06:00:45 UTC 2024
    - 57.5K bytes
    - Viewed (0)
  8. cmd/peer-rest-server.go

    	getBucketStatsRPC              = grid.NewSingleHandler[*grid.MSS, *BucketStats](grid.HandlerGetBucketStats, grid.NewMSS, func() *BucketStats { return &BucketStats{} })
    	getCPUsHandler                 = grid.NewSingleHandler[*grid.MSS, *grid.JSON[madmin.CPUs]](grid.HandlerGetCPUs, grid.NewMSS, madminCPUs.NewJSON)
    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/site-replication.go

    		}
    	}
    
    	for i, sri := range sris {
    		for b := range allBuckets {
    			if _, ok := bucketStats[b]; !ok {
    				bucketStats[b] = make([]srBucketMetaInfo, numSites)
    			}
    			si, ok := sri.Buckets[b]
    			if !ok {
    				si = madmin.SRBucketInfo{Bucket: b}
    			}
    			bucketStats[b][i] = srBucketMetaInfo{SRBucketInfo: si, DeploymentID: sri.DeploymentID}
    		}
    
    		for pname := range allPolicies {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 185.1K bytes
    - Viewed (0)
  10. cmd/bucket-replication-handlers.go

    	enc := json.NewEncoder(w)
    	stats := globalReplicationStats.Load().getLatestReplicationStats(bucket)
    	bwRpt := globalNotificationSys.GetBandwidthReports(ctx, bucket)
    	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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 23.3K bytes
    - Viewed (0)
Back to top