-
Notifications
You must be signed in to change notification settings - Fork 70
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
Improved tagging capabilities #108
Comments
Thanks for the details @krjackso, This issue actually falls within a bigger scope: the lack of name-spacing in tags. Integrations produce various tags, with more or less generic names, which can conflicts with the host tags. While we are working on resolving this problem at a higher level (for all integrations), we think it would make sense to implement your proposal with #103. |
Updating this with additional information... A use case that my organization (Tealium) is especially interested in, is being able to capture the regular expression groups in the bean name and use those in the enhanced tags. From the jmx list_everything command:
We want the following config to produce two metrics
|
@krjackso thank you for your feedback. We are going to be looking into this as it looks like a useful use case, extracting tags from metric names is nothing new and would definitely add value to JMX. I believe the implementation would not take too long. That said, this sort of implementation could be spammy in the wrong hands, so we'll have to discuss and consider in some more depth any possible downsides. We'll keep you posted. Thanks again! |
This allows a user to define additional tag at the 'include' level (with alias using the '' notation).
This allows a user to define additional tag at the 'include' level (with alias using the '' notation).
You're right regular expression grouping, as described in #108 (comment), is not available yet. At the moment, tags can be added and named after attribute values. |
@yannmh Any update on this? |
Hey @krjackso, We are going to work on this feature for the next JMXFetch release. I'll certainly let you know when I have more updates. |
It would be really great to have such "regex group" tagging. |
Hi folks, any update on this? It's tagged for 0.14.0 milestone which has been closed, but this issue is still open. I'm also keen to use this feature once it's available. |
Hey! We recently released version 0.19 of JMXFetch that comes with the ability to supply tags based on regex groupings of the bean names. The yaml files for JMX checks would look like the example provided by @krjackso where its required to use This version of JMXFetch was released with Agent version 6.1.0 and will also be released with version 5.23.0 |
fwiw, this was implemented in #167 |
I have a similar request to #103 where I want to whitelist tags, specifically the
name
tag that comes from the MBean name property.The issue I'm having is that we have tagged our ec2 hosts with
name
and we can not easily get system-wide results when creating graphs with something along the lines ofget jmx.domain.attribute1, from attribute_group:group1, sum by name
since it splits it by both the bean name and the instance name.To solve this, you could use something similar to what you have done aliases e.g.
I was also thinking though that what I really want is to put the tags on all attributes of the bean, not just one. The above config becomes repetitive with multiple attributes. It would be great if the config could be simplified further to:
Maybe I am missing something? Is there a way to achieve this with the current jmxfetch?
The text was updated successfully, but these errors were encountered: