open-telemetry / open-telemetry/opentelemetry-java-contrib

Runtime attach enhancements for JDK 21+

Open
#798 8 comments 1 reaction 1 assignee View on GitHub

@jeanbisutti is already working on this.

Since Aug 4, 2025.

component:runtime-attach enhancement
Dominant language
Java
Stars
269
Forks
196
Avg merge
2d 7h
Merged PRs (30d)
38

Description

Reference: https://mail.openjdk.org/pipermail/jigsaw-dev/2023-March/014816.html

The intention is to disable allowing dynamic attach of agents by default starting with Java 21. The runtime attach component should at a minimum enhance the README to mention the newly required JVM commandline arg. It would also be great to have a test/example to cover this use and demonstrate that it [still] works after 21.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.