Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Avg (0.12 sec)

  1. 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)
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-network.go

    	"github.com/minio/minio/internal/rest"
    )
    
    const (
    	internodeErrorsTotal      MetricName = "errors_total"
    	internodeDialErrorsTotal  MetricName = "dial_errors_total"
    	internodeDialAvgTimeNanos MetricName = "dial_avg_time_nanos"
    	internodeSentBytesTotal   MetricName = "sent_bytes_total"
    	internodeRecvBytesTotal   MetricName = "recv_bytes_total"
    )
    
    var (
    	internodeErrorsTotalMD = NewCounterMD(internodeErrorsTotal,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 2.4K bytes
    - Viewed (0)
  3. cmd/metrics-v3-cluster-iam.go

    	pluginAuthnServiceLastFailSeconds      = "plugin_authn_service_last_fail_seconds"
    	pluginAuthnServiceLastSuccSeconds      = "plugin_authn_service_last_succ_seconds"
    	pluginAuthnServiceSuccAvgRttMsMinute   = "plugin_authn_service_succ_avg_rtt_ms_minute"
    	pluginAuthnServiceSuccMaxRttMsMinute   = "plugin_authn_service_succ_max_rtt_ms_minute"
    	pluginAuthnServiceTotalRequestsMinute  = "plugin_authn_service_total_requests_minute"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 08:20:42 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  4. 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
    		}
    	}
    	// Add types...
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 10 16:28:08 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. 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...)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 7.8K bytes
    - Viewed (0)
Back to top