Replies: 6 comments 2 replies
-
https://github.com/open-telemetry/opentelemetry-java provides apis for manual instrumentation. |
Beta Was this translation helpful? Give feedback.
-
@trask Thank you for your answer. This is the thing I am looking for. Is there a road map about it? It sounds really promising. |
Beta Was this translation helpful? Give feedback.
-
@jeanbisutti is it possible to use along with Google Jib project? |
Beta Was this translation helpful? Give feedback.
-
@cemo It's not possible today to use the AOT/static instrumentation with Graal. We have identified several issues. I have noticed problems with Spring Boot and the static instrumentation code. I will create PRs to fix them. There are also OTel initialization issues, like this one. To avoid them, I am trying to have a Java agent (with OTel initializations and the JDK instrumentation) and the instrumentation, other than the JDK ones, done AOT. Except for Graal, this approach may allow starting to have something working with AOT instrumentation and improve it. This approach has to be discussed on the OTel side and might help some applications with a limited number of cores to get started faster. The next step may be to do the OTel initializations without an agent and have something working with Graal (and without the instrumentation of JDK classes). |
Beta Was this translation helpful? Give feedback.
-
Hey @trask @jeanbisutti, Is there an improvement on this issue? There is an ongoing afford on this PR and waiting to be reviewed. Can someone take a look please as well? |
Beta Was this translation helpful? Give feedback.
-
@cemo For Spring Boot you can use the OpenTelemetry starter that works with GraalVM native. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to use OpenTelemetry without instrumentation? I would like to use OpenTelemetry by Graal but I have no idea how to solve this problem.
Beta Was this translation helpful? Give feedback.
All reactions