- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for AVG (0.01 sec)
-
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 Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 4.6K bytes - Viewed (0) -
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 Sep 07 19:28:11 UTC 2025 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 3K bytes - Viewed (0) -
cmd/site-replication-metrics.go
metric.TotalDowntime = epHealth.offlineDuration metric.LastOnline = epHealth.lastOnline metric.Online = epHealth.Online metric.Latency = madmin.LatencyStat{ Curr: epHealth.latency.curr, Avg: epHealth.latency.avg, Max: epHealth.latency.peak, } } m[dID] = metric } return m } func (srs *SRStatus) updateXferRate(sz int64, duration time.Duration) { if sz > minLargeObjSize {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 8.2K bytes - Viewed (0) -
cmd/last-minute.go
dur = 0 } a.Total += int64(dur) a.N++ } // Merge b into a. func (a *AccElem) merge(b AccElem) { a.N += b.N a.Total += b.Total a.Size += b.Size } // Avg returns average time spent. func (a AccElem) avg() time.Duration { if a.N >= 1 && a.Total > 0 { return time.Duration(a.Total / a.N) } return 0 } // asTimedAction returns the element as a madmin.TimedAction.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Jul 05 17:40:45 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/metrics-realtime.go
if err != nil { m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (cpuCount)", byHostName, err.Error())) } else { m.Aggregated.CPU.CPUCount = cpuCount } loadStat, err := load.Avg() if err != nil { m.Errors = append(m.Errors, fmt.Sprintf("%s: %v (loadStat)", byHostName, err.Error())) } else { m.Aggregated.CPU.LoadStat = loadStat } } if types.Contains(madmin.MetricsRPC) {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sat Jun 01 05:16:24 UTC 2024 - 6.3K bytes - Viewed (0) -
cmd/metrics-v3-system-drive.go
labels = append(labels, "api", "") lastIdx := len(labels) - 1 for apiName, latency := range disk.Metrics.LastMinute { labels[lastIdx] = "storage." + apiName m.Set(driveAPILatencyMicros, float64(latency.Avg().Microseconds()), labels...) } } func (m *MetricValues) setDriveIOStatMetrics(ioStats driveIOStatMetrics, labels []string) { m.Set(driveReadsPerSec, ioStats.readsPerSec, labels...)
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Sun Mar 30 00:56:02 UTC 2025 - 7.8K bytes - Viewed (0)