Which version of Java agent to use for productive use cases ? #6939
-
Hi Team, I would like to instrument java applications and ship traces to a tracing backend from CloudFoundry and K8S runtimes. Similarly, for JDBC and tomcat it has "alpha" suffix. Also verified the previous version 1.18.x. It too seems to have alpha quality for framework support. Now, randomly tried out older versions of java agent like I have also seen the notice on the instrumentation repository :
My question is which version of Java agent is recommended for productive use cases ? Any recommendations for a stable version(slightly older is also fine) Best Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @santoshkashyap
We recommend using the latest version of the javaagent. The agent itself is considered stable; the instrumentations that are included in it are not. This pretty much means that we are allowed to change the telemetry data that is being emitted by the agent, e.g. span names or attributes. This is caused by the fact that the OTel semantic conventions that we're based on are not stable themselves, so until the conventions outlined in the spec stabilize we cannot stabilize the instrumentations.
That is actually an unfortunate bug, all of the instrumentations contained in the previous javaagent versions were still unstable, we were just emitting the javaagent version as |
Beta Was this translation helpful? Give feedback.
Hey @santoshkashyap
We recommend using the latest version of the javaagent. The agent itself is considered stable; the instrumentations that are included in it are not. This pretty much means that we are allowed to change the telemetry data that is being emitted by the agent, e.g. span names or attributes. This is caused by the fact that the OTel semantic conventions that we're based on are not stable themselves, so until the conventions outlined in the spec stabilize we cannot stabilize the instrumentations.