You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/_edot-sdks/java/faq.md
+5-2
Original file line number
Diff line number
Diff line change
@@ -41,9 +41,12 @@ INFO io.opentelemetry.javaagent.tooling.VersionLogger - opentelemetry-javaagent
41
41
```
42
42
43
43
In addition, the `-javaagent:` JVM argument can provide the path to the agent file name, which _might_ also contain
44
-
the agent version, for example `-javaagent:elastic-otel-javaagent-1.2.3.jar`
44
+
the agent version, for example `-javaagent:elastic-otel-javaagent-1.2.3.jar`.
45
45
46
-
When the original agent jar file has been renamed, it is still possible to inspect the `Implementation-Version` entry in `META-INF/MANIFEST.MF` file of the agent jar,
46
+
Executing the agent jar as an application with `java -jar elastic-otel-javaagent.jar` will provide the agent version on standard output,
47
+
which could be relevant to use when the jar file has been renamed.
48
+
49
+
Also, it is also possible to inspect the `Implementation-Version` entry in `META-INF/MANIFEST.MF` file of the agent jar,
47
50
for example with `unzip -p elastic-otel-javaagent.jar META-INF/MANIFEST.MF|grep 'Implementation-Version'`
48
51
49
52
## What are the versions of the OpenTelemetry upstream dependencies ?
0 commit comments