Skip to content

Use opentelemetry-java project and an agent with different versions (combination manual and auto instrumentation) #5654

Discussion options

You must be logged in to vote

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?

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.

I suppose it's quite safe for minor version but what about major versions? In other words, there are some risks to use both mechanism auto and manual?

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.

Moreover, would everything work if I just manual instrumenting th…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@SimoneGiusso
Comment options

@mateuszrzeszutek
Comment options

Answer selected by SimoneGiusso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants