Skip to main content

Module storage

Module storage 

Source
Expand description

Storage / disk observability: free space on the recordings filesystem (via statvfs), the recordings footprint, and a projected retention horizon from the recent write rate.

Structs§

DiskStats
StorageReport

Functions§

disk_stats
Free/total bytes of the filesystem backing path (statvfs). Returns None if it can’t be read.
disk_stats_async
Async wrapper: run the (potentially blocking on network filesystems) statvfs off the runtime.
storage_report
Compute a storage report combining disk stats with the recordings footprint and write rate.