Skip to content

Commit 00ca6c2

Browse files
committed
Update dependencies and OTel to v2.11.0-adot1
1 parent f1c1507 commit 00ca6c2

File tree

68 files changed

+533
-7942
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+533
-7942
lines changed

.github/patches/opentelemetry-java-instrumentation.patch

Lines changed: 162 additions & 174 deletions
Large diffs are not rendered by default.

.github/patches/versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
OTEL_JAVA_INSTRUMENTATION_VERSION=v2.10.0
1+
OTEL_JAVA_INSTRUMENTATION_VERSION=v2.11.0

dependencyManagement/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ data class DependencySet(val group: String, val version: String, val modules: Li
2727
val testSnapshots = rootProject.findProperty("testUpstreamSnapshots") == "true"
2828

2929
// This is the version of the upstream instrumentation BOM
30-
val otelVersion = "2.10.0-adot2"
30+
val otelVersion = "2.11.0-adot1"
3131
val otelSnapshotVersion = "2.11.0"
3232
val otelAlphaVersion = if (!testSnapshots) "$otelVersion-alpha" else "$otelSnapshotVersion-alpha-SNAPSHOT"
3333
val otelJavaAgentVersion = if (!testSnapshots) otelVersion else "$otelSnapshotVersion-SNAPSHOT"

instrumentation/logback-1.0/src/main/java/software/amazon/opentelemetry/javaagent/instrumentation/logback_1_0/AwsXrayLoggingEventInstrumentation.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
import io.opentelemetry.api.trace.SpanContext;
2727
import io.opentelemetry.context.Context;
2828
import io.opentelemetry.instrumentation.api.util.VirtualField;
29-
import io.opentelemetry.instrumentation.logback.mdc.v1_0.internal.UnionMap;
3029
import io.opentelemetry.javaagent.bootstrap.Java8BytecodeBridge;
3130
import io.opentelemetry.javaagent.extension.instrumentation.TypeInstrumentation;
3231
import io.opentelemetry.javaagent.extension.instrumentation.TypeTransformer;
@@ -93,7 +92,9 @@ public static void onExit(
9392
if (contextData == null) {
9493
contextData = spanContextData;
9594
} else {
96-
contextData = new UnionMap<>(contextData, spanContextData);
95+
Map<String, String> mergedData = new HashMap<>(contextData);
96+
mergedData.putAll(spanContextData);
97+
contextData = mergedData;
9798
}
9899
}
99100
}

licenses/annotations-2.29.23.jar/META-INF/LICENSE.txt

Lines changed: 0 additions & 206 deletions
This file was deleted.

licenses/annotations-2.29.23.jar/META-INF/NOTICE.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)