Skip to content
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

sparse files size issue #17

Open
anshibanov opened this issue Sep 5, 2023 · 0 comments
Open

sparse files size issue #17

anshibanov opened this issue Sep 5, 2023 · 0 comments

Comments

@anshibanov
Copy link

First, I'd like to thank you for the prometheus_folder_size_exporter. It's been a valuable tool for our monitoring needs.

I've noticed that the current implementation reports the apparent (or nominal) size of files. While this might be useful in some contexts, it can lead to misleading metrics when dealing with sparse files. As you might know, the apparent size of a sparse file can be much larger than the actual disk space it uses.

To make the exporter more accurate for environments where sparse files are common, would it be possible to add an option or feature to report the actual disk space used by files, rather than their apparent size?

This would provide a more accurate picture of disk usage, especially when monitoring systems or applications that make use of sparse files.

Thank you for considering this feature request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant