- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for GetTotalCapacityFree (0.21 sec)
-
cmd/notification-summary.go
} // Ignore parity disks if disk.DiskIndex < s.Backend.StandardSCData[disk.PoolIndex] { capacity += disk.TotalSpace } } return capacity } // GetTotalCapacityFree gets the total capacity free in the cluster. func GetTotalCapacityFree(diskInfo []madmin.Disk) (capacity uint64) { for _, d := range diskInfo { capacity += d.AvailableSpace } return capacity }
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 2.2K bytes - Viewed (0) -
cmd/metrics-v3-cluster-health.go
storageInfo := clusterDriveMetrics.storageInfo m.Set(healthCapacityRawTotalBytes, float64(GetTotalCapacity(storageInfo.Disks))) m.Set(healthCapacityRawFreeBytes, float64(GetTotalCapacityFree(storageInfo.Disks))) m.Set(healthCapacityUsableTotalBytes, float64(GetTotalUsableCapacity(storageInfo.Disks, storageInfo)))
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Mar 10 09:15:15 UTC 2024 - 3.9K bytes - Viewed (0) -
cmd/metrics.go
prometheus.NewDesc( prometheus.BuildFQName(minioNamespace, "capacity_raw_free", "total"), "Total free capacity online in current MinIO server instance", nil, nil), prometheus.GaugeValue, float64(GetTotalCapacityFree(server.Disks)), ) sinfo := objLayer.StorageInfo(GlobalContext, true) // Report total usable capacity ch <- prometheus.MustNewConstMetric( prometheus.NewDesc(
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Oct 24 04:06:31 UTC 2025 - 16.7K bytes - Viewed (0) -
cmd/metrics-v2.go
Value: float64(GetTotalCapacity(storageInfo.Disks)), }) metrics = append(metrics, MetricV2{ Description: getClusterCapacityFreeBytesMD(), Value: float64(GetTotalCapacityFree(storageInfo.Disks)), }) metrics = append(metrics, MetricV2{ Description: getClusterCapacityUsageBytesMD(), Value: float64(GetTotalUsableCapacity(storageInfo.Disks, storageInfo)), })
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 133.6K bytes - Viewed (0)