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
To upgrade OpenTelemetry auto instrumentation (agent) follow these steps:
6
+
7
+
1. Upgrade OpenTelemetry API and agent versions in [build.gradle.kts](./build.gradle.kts).
8
+
The OpenTelemetry API version has to match the version used by the agent.
9
+
2. Make sure shadow replace configuration from [build.gradle.kts](./build.gradle.kts) and [./instrumentation/build.gradle.kts](./instrumentation/build.gradle.kts)
10
+
is aligned with https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/5ef915879162bcccd0f3727d25bb735816263188/javaagent/javaagent.gradle#L83-L95
11
+
and https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/5ef915879162bcccd0f3727d25bb735816263188/instrumentation/instrumentation.gradle#L66-L76
12
+
3. Make sure (./buildSrc) is synced with https://github.com/open-telemetry/opentelemetry-java-instrumentation/tree/master/buildSrc.
13
+
It should be one to one copy.
14
+
4. Make sure Hypertrace instrumentation names match with OpenTelemetry instrumentation names.
Copy file name to clipboardexpand all lines: otel-extensions/src/main/java/org/hypertrace/agent/otel/extensions/processor/HypertraceTracerCustomizer.java
0 commit comments