Log available disk space for the ledger database (#5177) Record the free space on the volume holding the ledger at startup and on every monitor tick, so operators notice a filling disk and post-mortem log analysis can tell whether the node ran out of space. Add `nano::get_disk_space` alongside the other filesystem helpers and a `nano::log::as_disk_space` wrapper to render it, keeping the formatting out of the query API. The monitor escalates to a warning below 10 GiB and to a critical message below 1 GiB. Co-authored-by: Claude Opus 5 <noreply@anthropic.com>
__________
Type: commit
Hash: 89b849c4782eeb621c37553ff5bca90646da6a9e
Created: yesterday
__________
gr0v1ty/nano-node:89b849c4782eeb621c37553ff5bca90646da6a9e
| Test Case | Status | Duration | Median Deviation | Log | Graph |
|---|---|---|---|---|---|
| 5n4pr_conf_10k_bintree | PASS | 108 s | -6.0 s | - | Show |
| 5n4pr_conf_10k_change | PASS | 172 s | 30.0 s | - | Show |
| 5n4pr_conf_change_dependant | PASS | 110 s | -6.0 s | - | - |
| 5n4pr_conf_change_independant | PASS | 151 s | 35.0 s | - | - |
| 5n4pr_conf_send_dependant | PASS | 110 s | -3.0 s | - | - |
| 5n4pr_conf_send_independant | PASS | 109 s | -9.0 s | - | - |
| 5n4pr_rocks_10k_bintree | PASS | 115 s | -1.0 s | - | - |
| 5n4pr_rocks_10k_change | PASS | 176 s | 13.0 s | - | - |