Skip to content

Conversation

@SylvainJuge
Copy link
Contributor

@SylvainJuge SylvainJuge commented Nov 20, 2025

Following the introduction of JmxTelemetry / JmxTelemetryBuilder in the new JMX Insights API (in open-telemetry/opentelemetry-java-instrumentation#15220), this PR migrates to the new API to prevent relying on internal implementation classes.

There is however a limitation in this new API that prevents loading the "legacy" definitions in jmx-scraper. A simple workaround has been implemented by loading metrics definitions through a temporary file, this will be removed once the limitation is removed in instrumentation with open-telemetry/opentelemetry-java-instrumentation#15413.

Copy link
Contributor

@robsunday robsunday left a comment

Choose a reason for hiding this comment

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

LGTM

@trask trask enabled auto-merge November 28, 2025 17:22
@trask trask added this pull request to the merge queue Nov 28, 2025
Merged via the queue into open-telemetry:main with commit 5e50152 Nov 28, 2025
46 of 51 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.

3 participants