Looking for an way to get the traces from 3rd party libraries (Java) when opentelemetry api and sdk are used #3104
Unanswered
SubhadeepSen
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Hi @SubhadeepSen - I've transferred this issue to the instrumentation repo since it's about instrumentation. Unfortunately we have not augmented that list with a checkbox on which libraries we support without the agent, it's only a subset. For now, the best way is to search for a There should be instructions on how to enable the library instrumentation (no agent so it can't happen automatically naturally). If there are any libraries where we don't have a |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been trying to use the opentelemetry-api and opentelemetry-sdk along with the sdk-autoconfigure in a micronaut application to generate the traces. The traces are coming as expected when the application is instrumented. I'm looking for a way to get the traces from 3rd party libraries as well with my current configuration and without using the opentelemetry java agent. I've tried to use the supported libraries as mentioned here (https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/supported-libraries.md) but I'm not getting any traces from these 3rd party libraries.
Is there any way to get the traces from 3rd party libraries (aws, apache httpclient etc.) when opentelemetry api and sdk are used?
Dependencies:
opentelemetry-api:1.2.0
opentelemetry-sdk:1.2.0
opentelemetry-exporter-otlp:1.2.0
opentelemetry-sdk-extension-autoconfigure:1.2.0-alpha
software.amazon.awssdk:s3:2.15.15
org.apache.httpcomponents:httpclient:4.5
Appreciate any suggestion or guidance.
Beta Was this translation helpful? Give feedback.
All reactions