Activate ziris-instrumentation-extension
Created , Updated
Enabling the z/IRIS Instrumentation Extension requires a restart of the JVM with the following, additional Java system property:
Property name | Description |
---|---|
otel.javaagent.extensions | The path of the instrumentation extension module(s) that add behavior to the OTEL Java agent. |
Example
Assuming that your command line looks similar to this:
CODE
java -javaagent:path/to/opentelemetry-javaagent-all.jar \
-jar myApplication.jar
Change it to this:
CODE
java -javaagent:path/to/opentelemetry-javaagent-all.jar \
-Dotel.javaagent.extensions=path/to/ziris-instrumentation-extension.jar \
-jar myApplication.jar