Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for offlineDrives (0.15 sec)

  1. cmd/metrics-v3-cache.go

    			return
    		}
    
    		storageInfo := objLayer.LocalStorageInfo(GlobalContext, true)
    		onlineDrives, offlineDrives := getOnlineOfflineDisksStats(storageInfo.Disks)
    		totalDrives := onlineDrives.Merge(offlineDrives)
    
    		v = storageMetrics{
    			storageInfo:   storageInfo,
    			onlineDrives:  onlineDrives.Sum(),
    			offlineDrives: offlineDrives.Sum(),
    			totalDrives:   totalDrives.Sum(),
    			ioStats:       map[string]driveIOStatMetrics{},
    		}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. cmd/metrics-v3-cluster-health.go

    func loadClusterHealthDriveMetrics(ctx context.Context, m MetricValues,
    	c *metricsCache,
    ) error {
    	clusterDriveMetrics, _ := c.clusterDriveMetrics.Get()
    
    	m.Set(healthDrivesOfflineCount, float64(clusterDriveMetrics.offlineDrives))
    	m.Set(healthDrivesOnlineCount, float64(clusterDriveMetrics.onlineDrives))
    	m.Set(healthDrivesCount, float64(clusterDriveMetrics.totalDrives))
    
    	return nil
    }
    
    const (
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 09:15:15 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. cmd/metrics-v3-system-drive.go

    		if dm, found := driveMetrics.ioStats[disk.DrivePath]; found {
    			m.setDriveIOStatMetrics(dm, labels)
    		}
    		m.setDriveAPIMetrics(disk, labels)
    	}
    
    	m.Set(driveOfflineCount, float64(driveMetrics.offlineDrives))
    	m.Set(driveOnlineCount, float64(driveMetrics.onlineDrives))
    	m.Set(driveCount, float64(driveMetrics.totalDrives))
    
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun May 12 17:23:50 UTC 2024
    - 7.9K bytes
    - Viewed (0)
Back to top