- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for resourceMetricsMap (0.13 sec)
-
cmd/metrics-v3-system-cpu.go
m.Set(sysCPUSteal, cpuStealVal) } // 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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 20 17:55:03 UTC 2024 - 3K bytes - Viewed (0) -
cmd/metrics-resource.go
cpuLoad1Perc MetricName = "load1_perc" cpuLoad5Perc MetricName = "load5_perc" cpuLoad15Perc MetricName = "load15_perc" ) var ( resourceCollector *minioResourceCollector // resourceMetricsMap is a map of subsystem to its metrics resourceMetricsMap map[MetricSubsystem]ResourceMetrics resourceMetricsMapMu sync.RWMutex // resourceMetricsHelpMap maps metric name to its help string resourceMetricsHelpMap map[MetricName]string
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jul 24 23:30:33 UTC 2024 - 17.2K bytes - Viewed (0)