Here’s a quick dashboard update: our volumes list page now comes with usage data for your file system. This is just the first of other places that will get this data so I just wanted to share this small update with you all.
Notes:
If you’re looking for volume usage on databases and compare to the metrics page Database Size this will very likely be different because that metric only shows the database size itself, not the entire volume usage.
This works much like a df command inside a VM, we use the same calculation from https://fly-metrics.net/ for apps with volumes.
This updates frequently on running VMs which means if you have volumes not attached to running machines it will show 0. Don’t worry if you have a stopped machine with a volume showing 0 usage even though you know there’s data there, we’ll fetch information as soon as the machine is started.
The numbers seem off for me, our pg_data volumes show 1,378MB of usage in the dashboard – but df -h reports only 480MB of usage… are volumes replicated in some way and are the replicas being counted?
Are they on Apps V2? I should have added to the notes that this will work only for apps v2. We are moving towards all apps using machines so our goal is for those databases to be able to benefit from new work like this one. We will be adding a notice there soon.
It could be slightly off indeed, even df might show off numbers. Here’s an example of that on a machine of mine:
You can see 5683d269f3758e is one of the attached machines on the screenshot above, it says on the dashboard the usage is 709MB while df says 149M but opon checking the avail column on df you can spot the weirdness.
This might be a distributed systems issue , we are working on improving this. In the meantime we updated the UI to better reflect that it’s loading rather than having no volumes.