-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch stats from folder mounted volumes #1534
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution and resolving this long remaining issue.
Could you rebase to latest master branch to solve the macOS test on GitHub (#1532)? And also, could you give us more simple test code, which does not use collector?
Signed-off-by: Dani Louca <[email protected]>
dd662b5
to
acd2212
Compare
Signed-off-by: Dani Louca <[email protected]>
Updated the PR with the requested changes |
@shirou would you please take a look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't have a much Windows knowledge, but when I run this PR, it seems that my SMB mounted folder(Z:
) has disappeared because getVolumePaths()
returns empty. Could you try this PR with an SMB mounted folder(s) in your environment?
Revisiting this ; I think a way to put this to bed is to run Windows tests as part of CI so we're sure it works well. WDYT? |
This fixes #1245 and open-telemetry/opentelemetry-collector-contrib#27203
The test from OpenTelemetry
Steps to reproduce
Before the fix:
With the fix, notice the folder mounted volumes stats
C:\mount4
: