Skip to content
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

jmx-scraper replicate and document jmxmp/sasl config #1749

Merged
merged 3 commits into from
Feb 21, 2025

Conversation

SylvainJuge
Copy link
Contributor

@SylvainJuge SylvainJuge commented Feb 20, 2025

Part of #1681

The JMX Gatherer provides options to use the JMXMP and SASL authentication options, which allow to extend the simple login/pwd authentication and delegate to a "real" authentication system like LDAP. While that sounds simple with words is more challenging in practice because this is something sparsely documented and the JMXMP client and server implementation is not even shipped with the JDK.

I was not able to reproduce a working client and server for end-to-end integration test, so for now it means it will be only documented and provided as-is. The current JMX Gatherer implementation is not tested either, and we can adjust the implementation and hopefully enable testing through user feedback.

In summary this PR contains:

  • adding the JMXMP library from Terracotta (the same that is used with gatherer)
  • document the configuration options

The implementation of those config options is already included and had been copied as-is from gatherer code.

Comment on lines +18 to +23
maven {
setUrl("https://repo.terracotta.org/maven2")
content {
includeGroupByRegex("""org\.terracotta.*""")
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[for reviewer] moving this here allows to avoid duplication between gatherer and scraper to access this repository.

@trask trask added this to the v1.44.0 milestone Feb 20, 2025
@trask trask merged commit 023c02b into open-telemetry:main Feb 21, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants