-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[receiver/hostmetrics] Do not require the whole filesystem to be available for the filesystem scraper #35044
Comments
Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
The issue comes from the use of gopsutil to get the filesystem usage.
The call to usage goes to gopsutil which makes this call:
This calls the equivalent of
We have to find the equivalent information of statfs without having access to the mountpoint itself. |
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 Pinging code owners: See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Component(s)
receiver/hostmetrics
What happened?
The filesystem scraper requires read access to all mount points. Is it possible to avoid this requirement?
Collector version
v0.108.0
Environment information
Environment
OS: (e.g., "Ubuntu 20.04")
Compiler(if manually compiled): (e.g., "go 14.2")
OpenTelemetry Collector configuration
No response
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: