Add debug logging for filesystem discovery
All checks were successful
Build and Release / build-and-release (push) Successful in 1m18s

This commit is contained in:
2025-11-23 15:26:49 +01:00
parent de30b80219
commit 07422cd0a7
5 changed files with 11 additions and 6 deletions

View File

@@ -665,6 +665,11 @@ impl DiskCollector {
});
// Individual filesystem metrics
debug!("Drive {} has {} filesystems", drive_name, drive.filesystems.len());
for filesystem in &drive.filesystems {
debug!("Filesystem {}: {} bytes used / {} bytes total",
filesystem.mount_point, filesystem.used_bytes, filesystem.total_bytes);
}
for filesystem in &drive.filesystems {
let fs_name = if filesystem.mount_point == "/" {
"root".to_string()