Open dloucasfx opened 1 year ago
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Sounds good to me. I think we should try to push the fix in gopsutil before porting the SA implementation
Pushed the fix to gopsutil https://github.com/shirou/gopsutil/pull/1534
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Keeping open since there's a PR open for this in gopsutil.
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers
. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself.
Component(s)
receiver/hostmetrics
What happened?
Description
The
filesystem
scraper uses GoPsutil lib to get the windows partitions/volumes stats; However, it only fetches letter mounted volumes https://github.com/shirou/gopsutil/blame/v3.23.8/disk/disk_windows.go#L108 If user mounted a volume to a path, the scraper will not get any metrics for that volumesSteps to Reproduce
Run the collector with this simple config
Expected Result
The folder mounted volume is not present in the metrics
Actual Result
The folder mounted volume should be present in the collected metrics
Proposed Solution
We ran into this issue in the Signalfx agent and we implemented this https://github.com/signalfx/signalfx-agent/blob/main/pkg/monitors/filesystems/partitions_windows.go to address the issue as GoPSutil has not addressed the issue https://github.com/shirou/gopsutil/issues/1245
Happy to move the SA implementation to here while waiting on gopsutil to fix it.
Collector version
main