Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for loadDriveMetrics (0.3 sec)

  1. cmd/metrics-v3-cache.go

    		// values for IOStat related disk metrics e.g. reads/sec.
    		prevDriveIOStats            map[string]madmin.DiskIOStats
    		prevDriveIOStatsMu          sync.RWMutex
    		prevDriveIOStatsRefreshedAt time.Time
    	)
    
    	loadDriveMetrics := func(ctx context.Context) (v storageMetrics, err error) {
    		objLayer := newObjectLayerFn()
    		if objLayer == nil {
    			return
    		}
    
    		storageInfo := objLayer.LocalStorageInfo(GlobalContext, true)
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/metrics-v3-system-drive.go

    	if ioStats.writesPerSec > 0 {
    		m.Set(driveWritesAwait, ioStats.writesAwait, labels...)
    	}
    
    	m.Set(drivePercUtil, ioStats.percUtil, labels...)
    }
    
    // loadDriveMetrics - `MetricsLoaderFn` for node drive metrics.
    func loadDriveMetrics(ctx context.Context, m MetricValues, c *metricsCache) error {
    	driveMetrics, err := c.driveMetrics.Get()
    	if err != nil {
    		metricsLogIf(ctx, err)
    		return nil
    	}
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. cmd/metrics-v3.go

    			// iostat related
    			driveReadsPerSecMD,
    			driveReadsKBPerSecMD,
    			driveReadsAwaitMD,
    			driveWritesPerSecMD,
    			driveWritesKBPerSecMD,
    			driveWritesAwaitMD,
    			drivePercUtilMD,
    		},
    		loadDriveMetrics,
    	)
    
    	clusterHealthMG := NewMetricsGroup(clusterHealthCollectorPath,
    		[]MetricDescriptor{
    			healthDrivesOfflineCountMD,
    			healthDrivesOnlineCountMD,
    			healthDrivesCountMD,
    
    Registered: Sun Oct 27 19:28:09 UTC 2024
    - Last Modified: Fri Aug 02 00:55:27 UTC 2024
    - 13.6K bytes
    - Viewed (0)
Back to top