-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Ability to use lowercaseOutputName in particular rules #945
Comments
The current code either..
I looked at the code... jmx_exporter/collector/src/main/java/io/prometheus/jmx/JmxCollector.java Lines 556 to 560 in 4d775bc
... and adding a rule configuration value of Example:
Is the attribute name snake case? lower case? This feels like a workaround for inconsistent configuration of exporter rules and dashboards. |
Yeah the attrNameSnakeCase already makes an attribute name in lower case order. but my request was for lowercaseOutputName configuration per rule not the attribute name lower case. Currently metrics name can only be lowercase or uppercase globally. it reflects on all the rules which sometimes breaks some dashboards where one dashboard is using uppercase form of metrics where other is using the lower case form. |
At this time, I feel the best approach is to make your dashboards consistent. It will resolve operational issues in the future and prevent a mismatch of inconsistent usage. |
Oh ok got it. Yeah are currently doing this as this is the only way.. |
Hi, we know that we can define lowercaseOutputName globally which reflects all the rules. but If we want to define lowercaseOutputName only for particular rules except others then it doesn't work. Currently, we can define attrNameSnakeCase on the rules section but not lowercaseOutputName. The ability to use this option in the rule section will help us a lot. Thanks
The text was updated successfully, but these errors were encountered: