Skip to content

Commit b6367f4

Browse files
author
ADOT Patch workflow
committed
address comments
1 parent 1a5dcfc commit b6367f4

File tree

3 files changed

+16
-11
lines changed

3 files changed

+16
-11
lines changed

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

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,42 @@
11
diff --git a/docs/apidiffs/current_vs_latest/opentelemetry-instrumentation-annotations.txt b/docs/apidiffs/current_vs_latest/opentelemetry-instrumentation-annotations.txt
2-
index 93437ef1e0..3f564d25bc 100644
2+
index 93437ef1e0..4e9248fd01 100644
33
--- a/docs/apidiffs/current_vs_latest/opentelemetry-instrumentation-annotations.txt
44
+++ b/docs/apidiffs/current_vs_latest/opentelemetry-instrumentation-annotations.txt
55
@@ -1,2 +1,2 @@
6-
Comparing source compatibility of opentelemetry-instrumentation-annotations-2.11.0.jar against opentelemetry-instrumentation-annotations-2.10.0.jar
6+
-Comparing source compatibility of opentelemetry-instrumentation-annotations-2.11.0.jar against opentelemetry-instrumentation-annotations-2.10.0.jar
77
-No changes.
88
\ No newline at end of file
9+
+Comparing source compatibility of opentelemetry-instrumentation-annotations-2.11.0-adot1.jar against opentelemetry-instrumentation-annotations-2.11.0.jar
910
+No changes.
1011
diff --git a/docs/apidiffs/current_vs_latest/opentelemetry-instrumentation-api.txt b/docs/apidiffs/current_vs_latest/opentelemetry-instrumentation-api.txt
11-
index d759eed30a..385bd90663 100644
12+
index d759eed30a..1c725a0a25 100644
1213
--- a/docs/apidiffs/current_vs_latest/opentelemetry-instrumentation-api.txt
1314
+++ b/docs/apidiffs/current_vs_latest/opentelemetry-instrumentation-api.txt
1415
@@ -1,2 +1,2 @@
15-
Comparing source compatibility of opentelemetry-instrumentation-api-2.11.0.jar against opentelemetry-instrumentation-api-2.10.0.jar
16+
-Comparing source compatibility of opentelemetry-instrumentation-api-2.11.0.jar against opentelemetry-instrumentation-api-2.10.0.jar
1617
-No changes.
1718
\ No newline at end of file
19+
+Comparing source compatibility of opentelemetry-instrumentation-api-2.11.0-adot1.jar against opentelemetry-instrumentation-api-2.11.0.jar
1820
+No changes.
1921
diff --git a/docs/apidiffs/current_vs_latest/opentelemetry-spring-boot-autoconfigure.txt b/docs/apidiffs/current_vs_latest/opentelemetry-spring-boot-autoconfigure.txt
20-
index f657f219ae..2b4a59db8f 100644
22+
index f657f219ae..a6ec574fe5 100644
2123
--- a/docs/apidiffs/current_vs_latest/opentelemetry-spring-boot-autoconfigure.txt
2224
+++ b/docs/apidiffs/current_vs_latest/opentelemetry-spring-boot-autoconfigure.txt
2325
@@ -1,2 +1,2 @@
24-
Comparing source compatibility of opentelemetry-spring-boot-autoconfigure-2.11.0.jar against opentelemetry-spring-boot-autoconfigure-2.10.0.jar
26+
-Comparing source compatibility of opentelemetry-spring-boot-autoconfigure-2.11.0.jar against opentelemetry-spring-boot-autoconfigure-2.10.0.jar
2527
-No changes.
2628
\ No newline at end of file
29+
+Comparing source compatibility of opentelemetry-spring-boot-autoconfigure-2.11.0-adot1.jar against opentelemetry-spring-boot-autoconfigure-2.11.0.jar
2730
+No changes.
2831
diff --git a/docs/apidiffs/current_vs_latest/opentelemetry-spring-boot-starter.txt b/docs/apidiffs/current_vs_latest/opentelemetry-spring-boot-starter.txt
29-
index 02f520fd45..99505334b7 100644
32+
index 02f520fd45..2109c5a927 100644
3033
--- a/docs/apidiffs/current_vs_latest/opentelemetry-spring-boot-starter.txt
3134
+++ b/docs/apidiffs/current_vs_latest/opentelemetry-spring-boot-starter.txt
3235
@@ -1,2 +1,2 @@
33-
Comparing source compatibility of opentelemetry-spring-boot-starter-2.11.0.jar against opentelemetry-spring-boot-starter-2.10.0.jar
36+
-Comparing source compatibility of opentelemetry-spring-boot-starter-2.11.0.jar against opentelemetry-spring-boot-starter-2.10.0.jar
3437
-No changes.
3538
\ No newline at end of file
39+
+Comparing source compatibility of opentelemetry-spring-boot-starter-2.11.0-adot1.jar against opentelemetry-spring-boot-starter-2.11.0.jar
3640
+No changes.
3741
diff --git a/instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts b/instrumentation/aws-sdk/aws-sdk-1.11/javaagent/build.gradle.kts
3842
index f357a19f88..fa90530579 100644

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
@@ -92,8 +92,9 @@ public static void onExit(
9292
if (contextData == null) {
9393
contextData = spanContextData;
9494
} else {
95-
Map<String, String> mergedData = new HashMap<>(contextData);
96-
mergedData.putAll(spanContextData);
95+
// Merge maps with UnionMap semantics: contextData values take precedence
96+
Map<String, String> mergedData = new HashMap<>(spanContextData);
97+
mergedData.putAll(contextData);
9798
contextData = mergedData;
9899
}
99100
}

licenses/licenses.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)