Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for collectDriveMetrics (0.09 sec)

  1. cmd/metrics-resource.go

    	}
    	updateResourceMetrics(driveSubsystem, writesAwait, wrAwait, labels, false)
    	updateResourceMetrics(driveSubsystem, percUtil, float64(diffStats.TotalTicks)/(diffInSeconds*10), labels, false)
    }
    
    func collectDriveMetrics(m madmin.RealtimeMetrics) {
    	latestDriveStatsMu.Lock()
    	for d, dm := range m.ByDisk {
    		labels := map[string]string{"drive": d}
    		latestStats, ok := latestDriveStats[d]
    		if !ok {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 23:30:33 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top