Skip to content

Mark nonstable JMX targets experimental#18971

Merged
trask merged 1 commit into
open-telemetry:mainfrom
trask:jmx
Jun 15, 2026
Merged

Mark nonstable JMX targets experimental#18971
trask merged 1 commit into
open-telemetry:mainfrom
trask:jmx

Conversation

@trask

@trask trask commented Jun 12, 2026

Copy link
Copy Markdown
Member

Resolves #16016

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates JMX Metrics “target system” naming to clearly distinguish non-stable Kafka targets by introducing experimental-kafka-broker and experimental-kafka-connect, while preserving legacy names with warnings (outside v3 preview) and enforcing the experimental names in v3 preview.

Changes:

  • Renames the Kafka broker and Kafka Connect JMX rule resources to experimental-* filenames and updates documentation/tests accordingly.
  • Adds legacy-name compatibility in the javaagent installer (with warnings) when v3 preview is disabled.
  • Updates Kafka Connect rule loading in library tests to use the new experimental rule resource.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
instrumentation/jmx-metrics/README.md Updates user-facing configuration example and supported target list to the new experimental-* target names.
instrumentation/jmx-metrics/library/src/test/java/io/opentelemetry/instrumentation/jmx/rules/KafkaConnectTest.java Updates Kafka Connect integration test to load the renamed experimental rules resource.
instrumentation/jmx-metrics/library/src/main/resources/jmx/rules/experimental-kafka-connect.yaml Adds the renamed Kafka Connect JMX rules file under the experimental target name.
instrumentation/jmx-metrics/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/jmx/JmxMetricInsightInstallerTest.java Updates javaagent-side rule validation test to reference the renamed experimental Kafka broker rules file.
instrumentation/jmx-metrics/javaagent/src/main/resources/jmx/rules/experimental-kafka-broker.yaml Adds the renamed Kafka broker JMX rules file under the experimental target name.
instrumentation/jmx-metrics/javaagent/src/main/java/io/opentelemetry/javaagent/instrumentation/jmx/JmxMetricInsightInstaller.java Adds mapping/warnings to support legacy Kafka target names outside v3 preview and routes target names to the correct classpath rule resources.

Comment thread instrumentation/jmx-metrics/README.md
@trask
trask marked this pull request as ready for review June 12, 2026 05:14
@trask
trask requested a review from a team as a code owner June 12, 2026 05:14
@trask

trask commented Jun 12, 2026

Copy link
Copy Markdown
Member Author

@trask
trask merged commit 44b62ae into open-telemetry:main Jun 15, 2026
95 checks passed
@trask
trask deleted the jmx branch June 15, 2026 16:59
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.

Distinguish stable from nonstable JMX target systems

4 participants