Add debug logging for filesystem discovery
All checks were successful
Build and Release / build-and-release (push) Successful in 1m18s
All checks were successful
Build and Release / build-and-release (push) Successful in 1m18s
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "cm-dashboard-agent"
|
||||
version = "0.1.114"
|
||||
version = "0.1.115"
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user