Update Remote Monitoring to Report Disk Usage for Datadir Mount Point #6687
Labels
good first issue
Good for newcomers
low-hanging-fruit
Easy to resolve, get it before someone else does!
Description
In remote monitoring, Lighthouse Advanced Metrics reports disk stats, such as
disk_node_bytes_free
, for the disk mounted at/
. However, this may not correspond to the disk holding the actual beacon chain data.Version
Using the 6.0.0 executable from the release.
Present Behavior
Currently, remote monitoring always reports the disk space for the root (
/
) mount point.Relevant code reference:
lighthouse/common/eth2/src/lighthouse.rs
Line 183 in c042dc1
Expected Behavior
Remote monitoring should report the disk space for the
datadir
(or the default directory) instead of the root mount point. This is important as users may mount a separate drive specifically for beacon chain data.Steps to Resolve
datadir
to point to a mount point on a second drive intended for storing beacon chain data.datadir
mount point or/
.The text was updated successfully, but these errors were encountered: