monitoring: rename metric longhorn_volume_usage_bytes to longhorn_volume_actual_size_bytes
this is to avoid the confusion between the size of the filesystem (usage_bytes)
vs used space by Longhorn block device (actual size)
longhorn#1180
@@ -41,8 +41,8 @@ func NewVolumeCollector(
vc.sizeMetric = metricInfo{
Desc: prometheus.NewDesc(
- prometheus.BuildFQName(longhornName, subsystemVolume, "usage_bytes"),
- "Used storage space in bytes for this volume",
+ prometheus.BuildFQName(longhornName, subsystemVolume, "actual_size_bytes"),
+ "Actual space used by each replica of the volume on the corresponding node",
[]string{nodeLabel, volumeLabel},
nil,
),
