Skip to content

Conversation

@theletterf
Copy link
Contributor

@theletterf theletterf self-assigned this Dec 18, 2025
@theletterf theletterf requested review from a team as code owners December 18, 2025 16:42
@theletterf theletterf added the documentation Improvements or additions to documentation label Dec 18, 2025
@github-actions
Copy link

github-actions bot commented Dec 18, 2025

SylvainJuge
SylvainJuge previously approved these changes Dec 19, 2025
If your application uses technologies not covered by auto-instrumentation, you have two options:

1. **Native OpenTelemetry support** — Some frameworks and libraries include built-in OpenTelemetry instrumentation provided by the vendor.
2. **Manual instrumentation** — Use the [OpenTelemetry API](https://opentelemetry.io/docs/languages/java/instrumentation/) to add custom spans, metrics, and logs for unsupported components.
Copy link
Member

Choose a reason for hiding this comment

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

You could maybe add a third option is to use manual instrumentation through configuration, it does not require to modify application code or dependencies: https://opentelemetry.io/docs/zero-code/java/agent/annotations/#creating-spans-around-methods-with-otelinstrumentationmethodsinclude

We already mention this option in our migration docs for the trace_methods config option of the classic agent as it serves a similar purpose.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added in be0154d

Co-authored-by: SylvainJuge <763082+SylvainJuge@users.noreply.github.com>
@theletterf theletterf merged commit b38b6f9 into main Dec 19, 2025
16 of 17 checks passed
@theletterf theletterf deleted the add-tls-settings-info branch December 19, 2025 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

agent-java documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants