Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Avg (0.03 sec)

  1. cmd/bucket-stats.go

    		qs.TgtXferStats[arn][Large] = XferStats{
    			Avg:  v.XferRateLrg.Avg,
    			Curr: lcurrTgt,
    			Peak: math.Max(v.XferRateLrg.Peak, lcurrTgt),
    		}
    		qs.TgtXferStats[arn][Small] = XferStats{
    			Avg:  v.XferRateSml.Avg,
    			Curr: scurrTgt,
    			Peak: math.Max(v.XferRateSml.Peak, scurrTgt),
    		}
    		if tcount > 0 {
    			qs.TgtXferStats[arn][Total] = XferStats{
    				Avg:  (v.XferRateLrg.Avg + v.XferRateSml.Avg) / float64(tcount),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 12 11:39:51 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  2. cmd/bucket-replication-metrics.go

    // InQueueMetric holds queue stats for replication
    type InQueueMetric struct {
    	Curr QStat `json:"curr" msg:"cq"`
    	Avg  QStat `json:"avg" msg:"aq"`
    	Max  QStat `json:"max" msg:"pq"`
    }
    
    func (qm InQueueMetric) merge(o InQueueMetric) InQueueMetric {
    	return InQueueMetric{
    		Curr: qm.Curr.add(o.Curr),
    		Avg:  qm.Avg.add(o.Avg),
    		Max:  qm.Max.add(o.Max),
    	}
    }
    
    type queueCache struct {
    	srQueueStats InQueueStats
    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. cmd/bucket-targets.go

    }
    
    type latencyStat struct {
    	lastmin lastMinuteLatency
    	curr    time.Duration
    	avg     time.Duration
    	peak    time.Duration
    	N       int64
    }
    
    func (l *latencyStat) update(d time.Duration) {
    	l.lastmin.add(d)
    	l.N++
    	if d > l.peak {
    		l.peak = d
    	}
    	l.curr = l.lastmin.getTotal().avg()
    	l.avg = time.Duration((int64(l.avg)*(l.N-1) + int64(l.curr)) / l.N)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. cmd/metrics-v3-system-cpu.go

    	// metrics-resource.go runs a job to collect resource metrics including their Avg values and
    	// stores them in resourceMetricsMap. We can use it to get the Avg values of CPU idle and IOWait.
    	cpuResourceMetrics, found := resourceMetricsMap[cpuSubsystem]
    	if found {
    		if cpuIdleMetric, ok := cpuResourceMetrics[getResourceKey(cpuIdle, nil)]; ok {
    			avgVal := math.Round(cpuIdleMetric.Avg*100) / 100
    			m.Set(sysCPUAvgIdle, avgVal)
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. docs/metrics/prometheus/list.md

    | `minio_node_if_rx_bytes_avg`  | Bytes received on the interface in 60s (avg) since uptime. |
    | `minio_node_if_rx_bytes_max`  | Bytes received on the interface in 60s (max) since uptime. |
    | `minio_node_if_rx_errors`     | Receive errors in 60s.                                     |
    | `minio_node_if_rx_errors_avg` | Receive errors in 60s (avg).                               |
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:48:51 UTC 2024
    - 43.3K bytes
    - Viewed (0)
  6. cmd/metrics-v3-replication.go

    	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))
    	m.Set(replicationMaxQueuedCount, float64(qt.Max.Count))
    	m.Set(replicationLastMinuteQueuedBytes, float64(qt.Curr.Bytes))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. cmd/metrics-resource.go

    	})
    
    	if requireAvgMax {
    		avgName := MetricName(fmt.Sprintf("%s_avg", name))
    		avgHelp := fmt.Sprintf("%s (avg)", help)
    		metrics = append(metrics, MetricV2{
    			Description:    getResourceMetricDescription(subSys, avgName, avgHelp),
    			Value:          math.Round(rm.Avg*100) / 100,
    			VariableLabels: cloneMSS(rm.Labels),
    		})
    
    		maxName := MetricName(fmt.Sprintf("%s_max", name))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. internal/config/identity/plugin/config.go

    		// Return empty metrics when not configured.
    		return Metrics{}
    	}
    	o.serviceMetrics.Lock()
    	defer o.serviceMetrics.Unlock()
    	l := &o.serviceMetrics.lastFullMinute
    	var avg float64
    	if l.successRequestCount > 0 {
    		avg = l.rttMsSum / float64(l.successRequestCount)
    	}
    	now := time.Now().UTC()
    	return Metrics{
    		LastReachableSecs:   now.Sub(o.serviceMetrics.LastCheckSuccess).Seconds(),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. docs/metrics/prometheus/grafana/replication/minio-replication-node.json

              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{server}}",
              "refId": "A"
            }
          ],
          "title": "Avg. Active Workers",
          "type": "timeseries"
        },
        {
          "datasource": {
            "type": "prometheus",
            "uid": "${DS_PROMETHEUS}"
          },
          "fieldConfig": {
            "defaults": {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 57.4K bytes
    - Viewed (0)
  10. cmd/bucket-replication-stats.go

    	if r == nil {
    		return ActiveWorkerStat{}
    	}
    	r.wlock.RLock()
    	defer r.wlock.RUnlock()
    	w := r.workers.get()
    	return ActiveWorkerStat{
    		Curr: w.Curr,
    		Max:  w.Max,
    		Avg:  w.Avg,
    	}
    }
    
    func (r *ReplicationStats) collectWorkerMetrics(ctx context.Context) {
    	if r == nil {
    		return
    	}
    	for {
    		select {
    		case <-ctx.Done():
    			return
    		case <-r.wTimer.C:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top