Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getNodeQueueStatsSummary (0.2 sec)

  1. cmd/metrics-v3-replication.go

    func loadClusterReplicationMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	st := globalReplicationStats.Load()
    	if st == nil {
    		return nil
    	}
    
    	qs := st.getNodeQueueStatsSummary()
    
    	qt := qs.QStats
    	m.Set(replicationAverageQueuedBytes, float64(qt.Avg.Bytes))
    	m.Set(replicationAverageQueuedCount, float64(qt.Avg.Count))
    	m.Set(replicationMaxQueuedBytes, float64(qt.Max.Bytes))
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  2. cmd/bucket-stats.go

    			Curr: (lcurr + scurr) / float64(count),
    			Peak: totpeak,
    		}
    	}
    	return qs
    }
    
    // populate queue totals for node and active workers in use for metrics
    func (r *ReplicationStats) getNodeQueueStatsSummary() (qs ReplQNodeStats) {
    	qs.NodeName = globalLocalNodeName
    	qs.Uptime = UTCNow().Unix() - globalBootTime.Unix()
    	qs.ActiveWorkers = globalReplicationStats.Load().ActiveWorkers()
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  3. cmd/metrics-v2.go

    		var ml []MetricV2
    		// common operational metrics for bucket replication and site replication - published
    		// at cluster level
    		if rStats := globalReplicationStats.Load(); rStats != nil {
    			qs := rStats.getNodeQueueStatsSummary()
    			activeWorkersCount := MetricV2{
    				Description: getClusterReplActiveWorkersCountMD(),
    			}
    			avgActiveWorkersCount := MetricV2{
    				Description: getClusterReplAvgActiveWorkersCountMD(),
    			}
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top