From ef53b09314d51c233063d5781039cded3c0c801b Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 09:08:06 +0000 Subject: [PATCH 1/6] build(opentelemetry): Bump OpenTelemetry dependencies to 2.34.0 --- CHANGELOG.md | 10 ++++++++++ gradle/libs.versions.toml | 12 ++++++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9472ec4027c..9aa7a049d12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,16 @@ - Kotlin now sees `Attachment.getBytes()`, `Device.getArchs()`, `Spring.getActiveProfiles()` and `JsonSerializationUtils.bytesFrom(...)` as nullable, because `@Nullable` now annotates the returned array instead of its elements ([#6558](https://github.com/getsentry/sentry-java/pull/6558)) - Shake-to-report no longer leaks the first Activity that resumes after `Sentry.init` ([#6686](https://github.com/getsentry/sentry-java/pull/6686)) +### Dependencies + +- Bump OpenTelemetry ([#PRNUM](https://github.com/getsentry/sentry-java/pull/PRNUM)) + - `opentelemetry` to `1.68.0` (was `1.67.0`) + - `opentelemetry-alpha` to `1.68.0-alpha` (was `1.67.0-alpha`) + - `opentelemetry-instrumentation` to `2.34.0` (was `2.33.1`) + - `opentelemetry-instrumentation-alpha` to `2.34.0-alpha` (was `2.33.1-alpha`) + - `opentelemetry-semconv` to `1.45.0` (was `1.44.0`) + - `opentelemetry-semconv-alpha` to `1.45.0-alpha` (was `1.44.0-alpha`) + ## 8.65.0 ### Features diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 56c294c6ad9..522943d7c58 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -30,13 +30,13 @@ nopen = "1.0.1" # see https://developer.android.com/jetpack/androidx/releases/compose-kotlin okhttp = "5.5.1" openfeature = "1.18.2" -otel = "1.67.0" -otelAlpha = "1.67.0-alpha" -otelInstrumentation = "2.33.1" -otelInstrumentationAlpha = "2.33.1-alpha" +otel = "1.68.0" +otelAlpha = "1.68.0-alpha" +otelInstrumentation = "2.34.0" +otelInstrumentationAlpha = "2.34.0-alpha" # check https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/dependencyManagement/build.gradle.kts#L49 for release version above to find a compatible version -otelSemanticConventions = "1.44.0" -otelSemanticConventionsAlpha = "1.44.0-alpha" +otelSemanticConventions = "1.45.0" +otelSemanticConventionsAlpha = "1.45.0-alpha" retrofit = "3.0.0" room2 = "2.8.5" room3 = "3.0.3" From cdfd4ce6374325de54e25ffda80f073c8a007479 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 09:08:55 +0000 Subject: [PATCH 2/6] changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9aa7a049d12..08ae6ec6541 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ ### Dependencies -- Bump OpenTelemetry ([#PRNUM](https://github.com/getsentry/sentry-java/pull/PRNUM)) +- Bump OpenTelemetry ([#6691](https://github.com/getsentry/sentry-java/pull/6691)) - `opentelemetry` to `1.68.0` (was `1.67.0`) - `opentelemetry-alpha` to `1.68.0-alpha` (was `1.67.0-alpha`) - `opentelemetry-instrumentation` to `2.34.0` (was `2.33.1`) From 046fc1f1823a46fbed92f109cd9191f184feab0a Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 10:55:54 +0000 Subject: [PATCH 3/6] fix(opentelemetry): Read both messaging.system and messaging.system.name Co-Authored-By: Alexander Dinauer --- .../sentry/opentelemetry/SentrySpanExporter.java | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java index 93b11eff4ab..d54a3e8cd6b 100644 --- a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java +++ b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java @@ -362,8 +362,7 @@ private void transferSpanDetails( maybeTransferOtelAttribute(span, sentryTransaction, ThreadIncubatingAttributes.THREAD_ID); maybeTransferOtelAttribute(span, sentryTransaction, ThreadIncubatingAttributes.THREAD_NAME); - maybeTransferOtelAttribute( - span, sentryTransaction, MessagingIncubatingAttributes.MESSAGING_SYSTEM); + transferMessagingSystem(span, sentryTransaction); maybeTransferOtelAttribute( span, sentryTransaction, MessagingIncubatingAttributes.MESSAGING_DESTINATION_NAME); maybeTransferOtelAttribute( @@ -382,6 +381,18 @@ private void transferSpanDetails( return sentryTransaction; } + /** + * {@code messaging.system} is deprecated in favor of {@code messaging.system.name}. + * Instrumentation may set either, so both are transferred. + */ + @SuppressWarnings("deprecation") + private static void transferMessagingSystem( + final @NotNull SpanData span, final @NotNull ISpan sentrySpan) { + maybeTransferOtelAttribute(span, sentrySpan, MessagingIncubatingAttributes.MESSAGING_SYSTEM); + maybeTransferOtelAttribute( + span, sentrySpan, MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME); + } + private List findCompletedRootNodes(final @NotNull List grouped) { final @NotNull Predicate isRootPredicate = node -> { From 14621e2fbe68b435797a28239a05acf776e2aed8 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Fri, 20 Nov 2026 11:06:40 +0000 Subject: [PATCH 4/6] fix(opentelemetry): Transfer messaging.system.name to messaging.system Co-Authored-By: Alexander Dinauer --- .../opentelemetry/SentrySpanExporter.java | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java index d54a3e8cd6b..9f039b2f5b2 100644 --- a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java +++ b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java @@ -382,15 +382,24 @@ private void transferSpanDetails( } /** - * {@code messaging.system} is deprecated in favor of {@code messaging.system.name}. - * Instrumentation may set either, so both are transferred. + * OpenTelemetry deprecated {@code messaging.system} in favor of {@code messaging.system.name}, + * but Sentry only supports {@code messaging.system}. Instrumentation may set either, so the value + * is transferred to {@code messaging.system}, preferring {@code messaging.system} if both are + * set. */ @SuppressWarnings("deprecation") private static void transferMessagingSystem( final @NotNull SpanData span, final @NotNull ISpan sentrySpan) { - maybeTransferOtelAttribute(span, sentrySpan, MessagingIncubatingAttributes.MESSAGING_SYSTEM); - maybeTransferOtelAttribute( - span, sentrySpan, MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME); + final @NotNull Attributes attributes = span.getAttributes(); + final @Nullable String deprecatedMessagingSystem = + attributes.get(MessagingIncubatingAttributes.MESSAGING_SYSTEM); + final @Nullable String messagingSystem = + deprecatedMessagingSystem != null + ? deprecatedMessagingSystem + : attributes.get(MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME); + if (messagingSystem != null) { + sentrySpan.setData(MessagingIncubatingAttributes.MESSAGING_SYSTEM.getKey(), messagingSystem); + } } private List findCompletedRootNodes(final @NotNull List grouped) { From e994c20280d88664f4ff29fc314897b9dfd3426f Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Thu, 26 Nov 2026 06:17:35 +0100 Subject: [PATCH 5/6] fix(opentelemetry): Support replacement messaging system attribute Recognize messaging.system.name during queue classification and normalize it for root and child spans while preserving legacy-key precedence. Co-Authored-By: OpenAI Codex --- .../sentry/opentelemetry/OtelSpanUtils.java | 15 ++ .../opentelemetry/SentrySpanExporter.java | 16 +-- .../SpanDescriptionExtractor.java | 8 +- .../kotlin/SentrySpanExporterMessagingTest.kt | 128 ++++++++++++++++++ .../kotlin/SpanDescriptionExtractorTest.kt | 57 ++++++++ 5 files changed, 205 insertions(+), 19 deletions(-) create mode 100644 sentry-opentelemetry/sentry-opentelemetry-core/src/test/kotlin/SentrySpanExporterMessagingTest.kt diff --git a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/OtelSpanUtils.java b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/OtelSpanUtils.java index 798f8d7e449..b20dc03a5e6 100644 --- a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/OtelSpanUtils.java +++ b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/OtelSpanUtils.java @@ -3,6 +3,7 @@ import io.opentelemetry.api.common.AttributeKey; import io.opentelemetry.api.common.Attributes; import io.opentelemetry.sdk.trace.data.SpanData; +import io.opentelemetry.semconv.incubating.MessagingIncubatingAttributes; import io.sentry.ISpan; import org.jetbrains.annotations.ApiStatus; import org.jetbrains.annotations.NotNull; @@ -10,6 +11,20 @@ @ApiStatus.Internal public final class OtelSpanUtils { + + /** + * OpenTelemetry deprecated {@code messaging.system} in favor of {@code messaging.system.name}. + * Instrumentation may set either, so prefer {@code messaging.system} when both are set. + */ + @SuppressWarnings("deprecation") + static @Nullable String getMessagingSystem(final @NotNull Attributes attributes) { + final @Nullable String messagingSystem = + attributes.get(MessagingIncubatingAttributes.MESSAGING_SYSTEM); + return messagingSystem != null + ? messagingSystem + : attributes.get(MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME); + } + public static void maybeTransferOtelAttribute( final @NotNull SpanData otelSpan, final @NotNull ISpan sentrySpan, diff --git a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java index 9f039b2f5b2..07d3da9e508 100644 --- a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java +++ b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SentrySpanExporter.java @@ -3,6 +3,7 @@ import static io.sentry.TransactionContext.DEFAULT_TRANSACTION_NAME; import static io.sentry.opentelemetry.InternalSemanticAttributes.IS_REMOTE_PARENT; import static io.sentry.opentelemetry.OtelInternalSpanDetectionUtil.isSentryRequest; +import static io.sentry.opentelemetry.OtelSpanUtils.getMessagingSystem; import static io.sentry.opentelemetry.OtelSpanUtils.maybeTransferOtelAttribute; import io.opentelemetry.api.common.Attributes; @@ -242,6 +243,7 @@ private void createAndFinishSpanForOtelSpan( setOtelInstrumentationInfo(spanData, sentryChildSpan); setOtelSpanKind(spanData, sentryChildSpan); transferSpanDetails(sentrySpanMaybe, sentryChildSpan); + transferMessagingSystem(spanData, sentryChildSpan); for (SpanNode childNode : spanNode.getChildren()) { createAndFinishSpanForOtelSpan(childNode, sentryChildSpan, remaining); @@ -381,22 +383,10 @@ private void transferSpanDetails( return sentryTransaction; } - /** - * OpenTelemetry deprecated {@code messaging.system} in favor of {@code messaging.system.name}, - * but Sentry only supports {@code messaging.system}. Instrumentation may set either, so the value - * is transferred to {@code messaging.system}, preferring {@code messaging.system} if both are - * set. - */ @SuppressWarnings("deprecation") private static void transferMessagingSystem( final @NotNull SpanData span, final @NotNull ISpan sentrySpan) { - final @NotNull Attributes attributes = span.getAttributes(); - final @Nullable String deprecatedMessagingSystem = - attributes.get(MessagingIncubatingAttributes.MESSAGING_SYSTEM); - final @Nullable String messagingSystem = - deprecatedMessagingSystem != null - ? deprecatedMessagingSystem - : attributes.get(MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME); + final @Nullable String messagingSystem = getMessagingSystem(span.getAttributes()); if (messagingSystem != null) { sentrySpan.setData(MessagingIncubatingAttributes.MESSAGING_SYSTEM.getKey(), messagingSystem); } diff --git a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SpanDescriptionExtractor.java b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SpanDescriptionExtractor.java index 3af3d8f96f0..6326dd2848a 100644 --- a/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SpanDescriptionExtractor.java +++ b/sentry-opentelemetry/sentry-opentelemetry-core/src/main/java/io/sentry/opentelemetry/SpanDescriptionExtractor.java @@ -24,12 +24,8 @@ public final class SpanDescriptionExtractor { final @NotNull SentryOptions options) { final @NotNull Attributes attributes = otelSpan.getAttributes(); - if (options.isEnableQueueTracing()) { - final @Nullable String messagingSystem = - attributes.get(MessagingIncubatingAttributes.MESSAGING_SYSTEM); - if (messagingSystem != null) { - return descriptionForMessagingSystem(otelSpan); - } + if (options.isEnableQueueTracing() && OtelSpanUtils.getMessagingSystem(attributes) != null) { + return descriptionForMessagingSystem(otelSpan); } final @Nullable String httpMethod = attributes.get(HttpAttributes.HTTP_REQUEST_METHOD); diff --git a/sentry-opentelemetry/sentry-opentelemetry-core/src/test/kotlin/SentrySpanExporterMessagingTest.kt b/sentry-opentelemetry/sentry-opentelemetry-core/src/test/kotlin/SentrySpanExporterMessagingTest.kt new file mode 100644 index 00000000000..e6219a99617 --- /dev/null +++ b/sentry-opentelemetry/sentry-opentelemetry-core/src/test/kotlin/SentrySpanExporterMessagingTest.kt @@ -0,0 +1,128 @@ +package io.sentry.opentelemetry + +import com.google.common.truth.Truth.assertThat +import io.opentelemetry.context.Context +import io.opentelemetry.sdk.OpenTelemetrySdk +import io.opentelemetry.sdk.trace.SdkTracerProvider +import io.opentelemetry.sdk.trace.export.SimpleSpanProcessor +import io.opentelemetry.semconv.incubating.MessagingIncubatingAttributes +import io.sentry.ISentryClient +import io.sentry.NoOpScopes +import io.sentry.Sentry +import io.sentry.SentryOptions +import io.sentry.protocol.SentryId +import io.sentry.protocol.SentryTransaction +import io.sentry.test.createSentryClientMock +import io.sentry.test.createTestScopes +import java.util.concurrent.TimeUnit +import kotlin.test.AfterTest +import kotlin.test.Test +import org.mockito.kotlin.anyOrNull +import org.mockito.kotlin.argumentCaptor +import org.mockito.kotlin.atLeastOnce +import org.mockito.kotlin.verify +import org.mockito.kotlin.whenever + +class SentrySpanExporterMessagingTest { + private val options = + SentryOptions().apply { + dsn = "https://key@sentry.io/proj" + tracesSampleRate = 1.0 + } + private val client: ISentryClient = createSentryClientMock() + private val scopes = createTestScopes(options).also { it.bindClient(client) } + private val exporter = SentrySpanExporter(scopes) + + init { + whenever( + client.captureTransaction(anyOrNull(), anyOrNull(), anyOrNull(), anyOrNull(), anyOrNull()), + ) + .thenReturn(SentryId()) + Sentry.setCurrentScopes(scopes) + } + + @AfterTest + fun tearDown() { + Sentry.setCurrentScopes(NoOpScopes.getInstance()) + } + + @Test + fun `normalizes replacement messaging system on roots and children`() { + withOpenTelemetry { openTelemetry -> + val tracer = openTelemetry.getTracer("test") + val root = + tracer + .spanBuilder("root") + .setAttribute(MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME, "kafka") + .startSpan() + val child = + tracer + .spanBuilder("child") + .setParent(root.storeInContext(Context.root())) + .setAttribute(MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME, "rabbitmq") + .startSpan() + + child.end() + root.end() + } + + val transaction = capturedTransactions().single() + assertThat(transaction.contexts.trace!!.data["messaging.system"]).isEqualTo("kafka") + assertThat(transaction.spans).hasSize(1) + assertThat(transaction.spans.single().data!!["messaging.system"]).isEqualTo("rabbitmq") + } + + @Suppress("DEPRECATION") + @Test + fun `prefers legacy messaging system on roots and children`() { + withOpenTelemetry { openTelemetry -> + val tracer = openTelemetry.getTracer("test") + val root = + tracer + .spanBuilder("root") + .setAttribute(MessagingIncubatingAttributes.MESSAGING_SYSTEM, "kafka") + .setAttribute(MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME, "ignored-root") + .startSpan() + val child = + tracer + .spanBuilder("child") + .setParent(root.storeInContext(Context.root())) + .setAttribute(MessagingIncubatingAttributes.MESSAGING_SYSTEM, "rabbitmq") + .setAttribute(MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME, "ignored-child") + .startSpan() + + child.end() + root.end() + } + + val transaction = capturedTransactions().single() + assertThat(transaction.contexts.trace!!.data["messaging.system"]).isEqualTo("kafka") + assertThat(transaction.spans).hasSize(1) + assertThat(transaction.spans.single().data!!["messaging.system"]).isEqualTo("rabbitmq") + } + + private fun withOpenTelemetry(callback: (OpenTelemetrySdk) -> Unit) { + val provider = + SdkTracerProvider.builder().addSpanProcessor(SimpleSpanProcessor.create(exporter)).build() + val openTelemetry = OpenTelemetrySdk.builder().setTracerProvider(provider).build() + try { + callback(openTelemetry) + provider.forceFlush().join(10, TimeUnit.SECONDS) + } finally { + provider.close() + } + } + + private fun capturedTransactions(): List { + val transaction = argumentCaptor() + verify(client, atLeastOnce()) + .captureTransaction( + transaction.capture(), + anyOrNull(), + anyOrNull(), + anyOrNull(), + anyOrNull(), + ) + return transaction.allValues + } +} diff --git a/sentry-opentelemetry/sentry-opentelemetry-core/src/test/kotlin/SpanDescriptionExtractorTest.kt b/sentry-opentelemetry/sentry-opentelemetry-core/src/test/kotlin/SpanDescriptionExtractorTest.kt index 4290b0cf7e3..db9a2d517c5 100644 --- a/sentry-opentelemetry/sentry-opentelemetry-core/src/test/kotlin/SpanDescriptionExtractorTest.kt +++ b/sentry-opentelemetry/sentry-opentelemetry-core/src/test/kotlin/SpanDescriptionExtractorTest.kt @@ -265,6 +265,63 @@ class SpanDescriptionExtractorTest { assertEquals(TransactionNameSource.TASK, info.transactionNameSource) } + @Test + fun `maps replacement messaging system name to queue publish op`() { + givenAttributes( + mapOf( + MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME to "kafka", + MessagingIncubatingAttributes.MESSAGING_DESTINATION_NAME to "my-topic", + MessagingIncubatingAttributes.MESSAGING_OPERATION_TYPE to "publish", + ), + ) + + val info = whenExtractingSpanInfo(queueTracingEnabled = true) + + assertEquals("queue.publish", info.op) + assertEquals("my-topic", info.description) + assertEquals(TransactionNameSource.TASK, info.transactionNameSource) + } + + @Test + fun `replacement messaging system name wins over http when queue tracing enabled`() { + givenSpanKind(SpanKind.PRODUCER) + givenAttributes( + mapOf( + HttpAttributes.HTTP_REQUEST_METHOD to "POST", + UrlAttributes.URL_FULL to "https://sqs.us-east-1.amazonaws.com/", + MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME to "aws.sqs", + MessagingIncubatingAttributes.MESSAGING_DESTINATION_NAME to "my-queue", + MessagingIncubatingAttributes.MESSAGING_OPERATION_TYPE to "publish", + ), + ) + + val info = whenExtractingSpanInfo(queueTracingEnabled = true) + + assertEquals("queue.publish", info.op) + assertEquals("my-queue", info.description) + assertEquals(TransactionNameSource.TASK, info.transactionNameSource) + } + + @Test + fun `http wins over replacement messaging system name when queue tracing disabled`() { + givenSpanKind(SpanKind.CLIENT) + givenAttributes( + mapOf( + HttpAttributes.HTTP_REQUEST_METHOD to "POST", + UrlAttributes.URL_FULL to "https://sqs.us-east-1.amazonaws.com/", + MessagingIncubatingAttributes.MESSAGING_SYSTEM_NAME to "aws.sqs", + MessagingIncubatingAttributes.MESSAGING_DESTINATION_NAME to "my-queue", + MessagingIncubatingAttributes.MESSAGING_OPERATION_TYPE to "publish", + ), + ) + + val info = whenExtractingSpanInfo(queueTracingEnabled = false) + + assertEquals("http.client", info.op) + assertEquals("POST https://sqs.us-east-1.amazonaws.com/", info.description) + assertEquals(TransactionNameSource.URL, info.transactionNameSource) + } + @Test fun `maps messaging send operation type to queue publish op`() { givenAttributes( From df5d60e14fdf5b6f176768c743c9c046760a8a1f Mon Sep 17 00:00:00 2001 From: Alexander Dinauer Date: Thu, 26 Nov 2026 06:33:26 +0100 Subject: [PATCH 6/6] docs(changelog): Move OpenTelemetry bump to Unreleased Keep the dependency update out of the already released 8.65.1 section after merging the latest main branch. Co-Authored-By: OpenAI Codex --- CHANGELOG.md | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7a3731b37d..f02b84d6508 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,18 @@ > - Java 8 support will be dropped. SDK 9.0.0 requires Java 11+. See [#6469](https://github.com/getsentry/sentry-java/issues/6469). > - The Android `minSdk` will be raised from 21 to 24. See [#5508](https://github.com/getsentry/sentry-java/issues/5508). +## Unreleased + +### Dependencies + +- Bump OpenTelemetry ([#6691](https://github.com/getsentry/sentry-java/pull/6691)) + - `opentelemetry` to `1.68.0` (was `1.67.0`) + - `opentelemetry-alpha` to `1.68.0-alpha` (was `1.67.0-alpha`) + - `opentelemetry-instrumentation` to `2.34.0` (was `2.33.1`) + - `opentelemetry-instrumentation-alpha` to `2.34.0-alpha` (was `2.33.1-alpha`) + - `opentelemetry-semconv` to `1.45.0` (was `1.44.0`) + - `opentelemetry-semconv-alpha` to `1.45.0-alpha` (was `1.44.0-alpha`) + ## 8.66.0 ### Fixes @@ -31,16 +43,6 @@ - Android app start: Reopening the app within a minute of process start is now reported as a warm start timed from the reopened screen, instead of reusing the cold start's timing. In standalone app start mode, this no longer sends the cold start a second time, as a warm start ([#6687](https://github.com/getsentry/sentry-java/pull/6687)) - Android app start: On Android 10+, a warm start now begins when the screen starts being created, matching its `activity.load` span ([#6719](https://github.com/getsentry/sentry-java/pull/6719)) -### Dependencies - -- Bump OpenTelemetry ([#6691](https://github.com/getsentry/sentry-java/pull/6691)) - - `opentelemetry` to `1.68.0` (was `1.67.0`) - - `opentelemetry-alpha` to `1.68.0-alpha` (was `1.67.0-alpha`) - - `opentelemetry-instrumentation` to `2.34.0` (was `2.33.1`) - - `opentelemetry-instrumentation-alpha` to `2.34.0-alpha` (was `2.33.1-alpha`) - - `opentelemetry-semconv` to `1.45.0` (was `1.44.0`) - - `opentelemetry-semconv-alpha` to `1.45.0-alpha` (was `1.44.0-alpha`) - ## 8.65.0 ### Features