Open cruscio opened 2 years ago
@dloucasfx Is this being actively worked on? It would be great to have it fixed.
@dloucasfx Is this being actively worked on? It would be great to have it fixed.
@rohan-rayaraddi yes, I just updated the PR with @shirou 's suggestions https://github.com/shirou/gopsutil/pull/1534
It appears disk/windows_disk.go filters on drive letters, excluding folder mounted volumes.
As a Telegraf user, I am looking to monitor all disk volumes mounted in Windows, both drive-letter mounted and folder-path mounted. Internally, Telegraf uses gopsutil to retrieve these data. Gopsutil appears to only support drive letters mounted disks.
Additional context
Closed Telegraf bug: https://github.com/influxdata/telegraf/issues/8332
[[inputs.disk]]
plugin should output a series for that volume, with thepath
tag being the path to the folder mount point, and thedevice
tag being either the volume DeviceId or the Disk & Partition numbers.To help reproduce this issue without needing a physical device, one can create a small VHD and mount it to a folder. Some potentially helpful links: