-
Notifications
You must be signed in to change notification settings - Fork 47
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
Whitelisting or blacklisting metrics #76
Comments
@zefir6 , you could try to reduce the buckets fsimage_user_fsize_bucket buckets for a start , or completely disable file size distribution for users. Reduce the number of buckets:
Disable any file size distribution on user level:
The file size distribution on user level is quite useful for catching culprits that create too many small files on HDFS though... |
Hey, thanks for reply :)
(and the same for many other attributes) According to my count, with every skip enabled, every user (even if he has one file), generates 15 lines in the exporter. I was just considering editing the code and trying to cut out the bit that generates user & group labels (as thats about peak of my java skills :) ) |
Can you provide me the output of number of metrics?
Usually the mentioned before histogram metrics for file size distribution have a real impact (number of users X number of buckets ...). |
... and the config if possible |
It would be very useful to be able to whitelist or blacklist specific metrics. In some situations you have to use managed prometheus, and may not be able to filter specific metrics on prometheus level, and exporter generates a lot of entries especially for metrics that have user_name tag.
The text was updated successfully, but these errors were encountered: