Use opentelemetry-java project and an agent with different versions (combination manual and auto instrumentation) #5654
-
According to the doc it is possible to use auto and manual instrumentation together. Are there some possibilities to have problems if we use different versions? Suppose I use Moreover, would everything work if I just manual instrumenting the application as described here, or extra steps are needed to integrate both mechanisms? For example, can I get the span created by the auto-instrumentation ( |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
It is possible, as long as the API version <= javaagent version.
There's only one major version (1.x) right now; but even when we finally release javaagent 2.x I believe it will still be possible to use
Pretty much the only thing you have to remember is that you have to use the |
Beta Was this translation helpful? Give feedback.
It is possible, as long as the API version <= javaagent version.
We're not aware of any current problems, if you find one please create an issue.
There's only one major version (1.x) right now; but even when we finally release javaagent 2.x I believe it will still be possible to use
opentelemetry-api
1.x with it.