How to check Volumes usage

How do I check for volumes usage?
Does the volumes will auto-extend when It’s reach It’s size?

Hi @infineon3000

You can monitor volume usage via metrics. The filesystem endpoints are:

fly_instance_filesystem_blocks
fly_instance_filesystem_block_size
fly_instance_filesystem_blocks_free
fly_instance_filesystem_blocks_avail

The volumes can be extended although they do not auto-extend. See: Volumes · Fly Docs

1 Like

Nice, there is also “Volume Usage” metrics on my Fly.io grafana dashboard

Correct, although Volume Usage represented there is pulled from logical volume metrics and doesn’t account for any file removal/cleanup. The dashboard should be updated soon with the Filesystem metric. See this commit if you would like to add it now.

1 Like