Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for GetTotalCapacity (0.09 sec)

  1. cmd/metrics.go

    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "capacity_raw", "total"),
    			"Total capacity online in the cluster",
    			nil, nil),
    		prometheus.GaugeValue,
    		float64(GetTotalCapacity(server.Disks)),
    	)
    
    	// Report total capacity free
    	ch <- prometheus.MustNewConstMetric(
    		prometheus.NewDesc(
    			prometheus.BuildFQName(minioNamespace, "capacity_raw_free", "total"),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		totalDrives := onlineDrives.Merge(offlineDrives)
    
    		metrics = append(metrics, MetricV2{
    			Description: getClusterCapacityTotalBytesMD(),
    			Value:       float64(GetTotalCapacity(storageInfo.Disks)),
    		})
    
    		metrics = append(metrics, MetricV2{
    			Description: getClusterCapacityFreeBytesMD(),
    			Value:       float64(GetTotalCapacityFree(storageInfo.Disks)),
    		})
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
Back to top