Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for loadProcIOMetrics (0.06 sec)

  1. cmd/metrics-v3-system-process.go

    	}
    
    	startTime, err := stat.StartTime()
    	if err != nil {
    		metricsLogIf(ctx, err)
    	} else if startTime > 0 {
    		m.Set(processStartTimeSeconds, float64(startTime))
    	}
    }
    
    func loadProcIOMetrics(ctx context.Context, io procfs.ProcIO, m MetricValues) {
    	if io.RChar > 0 {
    		m.Set(processIORCharBytes, float64(io.RChar))
    	}
    
    	if io.ReadBytes > 0 {
    		m.Set(processIOReadBytes, float64(io.ReadBytes))
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Thu Jun 20 17:55:03 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top