Bytecode manipulation
The Java implementation of auto-instrumentation for OpenTelemetry leverages the Java Instrumentation API to instrument code (https://docs.oracle.com/javase/8/docs/api/java/lang/instrument/Instrumentation.html). This API is defined as part of the Java language and can be used by anyone interested in collecting information about an application.
OpenTelemetry Java agent
The OpenTelemetry Java agent is distributed to users via a single Java archive (JAR) file, which can be downloaded from the opentelemetry-java-instrumentation
repository (https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases). The JAR contains the following components:
- The
javaagent
module. This is called by the Java Instrumentation API. - Instrumenting libraries for various frameworks and third-party libraries.
- The tooling to initialize and configure the OpenTelemetry components. These will be used to produce telemetry and deliver it to its destination...