-
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
Add flag to ignore certain filesystem types #217
Conversation
@@ -26,6 +26,7 @@ import ( | |||
|
|||
const ( | |||
defIgnoredMountPoints = "^/(sys|proc|dev)($|/)" | |||
defIgnoredFsTypes = "^(sys|proc)fs$" |
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.
On my machine there's also at least devpts, pstore, binfmt_misc and cgroup
@dominikschulz ping. Would love to integrate this. Do you have time to address the comments? |
This would be really helpful. I am using an exclusion of the following meaningless FS types when graphing disk space |
It's not safe to ignore |
Add flag to ignore certain filesystem types (Copy of #217)
Now that #241 is merged, this can be closed, no ? |
Seems like it to me, @juliusv? |
Seems like it, yeah. |
This PR introduces a flag to ignore certain filesystem types. In our setup there are a lot of useless timeseries exported which all share a few filesystem types. This would add a way to ignore all those and save some precious space.
Please let me know if you have any objections in general against this kind of feature.