Files
Callum Dickinson 447b6dcdc8 Change size units from MB/GB to MiB/GiB
The size values for the following metrics are actually in
mebibytes (MiB)/gibibytes (GiB), not megabytes (MB)/gigabytes (GB):

* memory [1] [2]
* memory.* [1]
* disk.root.size [2]
* disk.ephemeral.size [2]
* volume.size [3]
* volume.snapshot.size/snapshot.size [4]
* volume.backup.size/backup.size [5]
* volume.provider.capacity.*/volume.provider.pool.capacity.* [6]
* manila.share.size [7]

Change the units in samples and Gnocchi metrics from MB/GB to MiB/GiB.

[1]: https://www.libvirt.org/manpages/virsh.html#dommemstat
[2]: https://docs.openstack.org/api-ref/compute/#show-server-details
[3]: https://docs.openstack.org/api-ref/block-storage/v3/#show-a-volume-s-details
[4]: https://docs.openstack.org/api-ref/block-storage/v3/#show-a-snapshot-s-details
[5]: https://docs.openstack.org/api-ref/block-storage/v3/#show-backup-detail
[6]: https://bugs.launchpad.net/cinder/+bug/2129711
[7]: https://docs.openstack.org/api-ref/shared-file-system/#show-share-details

Change-Id: I0f6d4a1985dde1b77349700d7c4f06d60c17ca91
Signed-off-by: Callum Dickinson <callum.dickinson@catalystcloud.nz>
Related-Bug: 2129711
2025-10-24 08:14:07 +13:00
..
2024-05-01 10:24:46 +09:00