-
Notifications
You must be signed in to change notification settings - Fork 2.8k
jmx receiver: migration plan to use jmx-scraper #37469
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
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
) Proposing to take the position of codeowner of the jmxreceiver with @atoulme. Next planned features open-telemetry#37469
Status update:
There will still be 3 places for JMX metrics definitions, but 2 of them are expected to be static:
|
) Proposing to take the position of codeowner of the jmxreceiver with @atoulme. Next planned features open-telemetry#37469
This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
This issue has been flagged as inactive due to higher priorities, but I'm still hoping we'll make progress on it soon. As an alternative, we could also think about shading the jmx-scraper directly into the jmx-gatherer jar and use that to replace the existing jmx-gatherer implementation with jmx-scraper. However that would be just working around the change and would likely push us to maintain jmx-gatherer for even longer as the artifact would still be needed. So, if possible I'd like us to do it "the proper way" by directly using jmx-scraper in place of jmx-gatherer, this would also enable to provide new configuration options to end-users. |
@rogercoll are you looking to help with this issue? You are mentioned in the initial comment. OK to assign to you? |
Sounds good, planning to work on it soon. |
Uh oh!
There was an error while loading. Please reload this page.
Component(s)
receiver/jmx
Describe the issue you're reporting
This relates to #34825.
The path we took to implement this involved the creation of a new jmx-scraper artifact which is now published in maven central with version 1.46.0 of java contrib.
The next step is to allow users of
jmxreceiver
to start using it.On the collector/jmxreceiver side @rogercoll is likely to handle most of the contributions, on the java side @SylvainJuge and @robsunday can help with testing and implementation details of jmx-scraper.
Steps
1) Provide the ability to use jmx-scraper with jmxreceiver
2) Add an option to allow using custom metric definitions yaml files:
This is a new feature that wasn't previously available with jmx-gatherer because it relied on groovy scripts which could lead to code execution.
This depends on aligning the config name + using multiple custom yaml files (in jmx-scraper):
Future steps: providing ability to select which variant of metrics definitions to use
Those are here mostly for documentation and to give a glimpse at future direction, they will need to be refined in the future.
UPDATE: I opened another issue to further discuss the possible options.
The text was updated successfully, but these errors were encountered: