Skip to content

build(opentelemetry): Bump OpenTelemetry dependencies to 2.34.0 - #6691

Draft
sentry-junior[bot] wants to merge 4 commits into
mainfrom
build/bump-otel-dependencies-2.34.0
Draft

sentry-junior[bot] wants to merge 4 commits into
mainfrom
build/bump-otel-dependencies-2.34.0

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

📜 Description

Bumps all OpenTelemetry versions in gradle/libs.versions.toml together, so they match OpenTelemetry Java Instrumentation 2.34.0:

  • otel: 1.67.0 → 1.68.0
  • otelAlpha: 1.67.0-alpha → 1.68.0-alpha
  • otelInstrumentation (also used by otel-javaagent): 2.33.1 → 2.34.0
  • otelInstrumentationAlpha: 2.33.1-alpha → 2.34.0-alpha
  • otelSemanticConventions: 1.44.0 → 1.45.0
  • otelSemanticConventionsAlpha: 1.44.0-alpha → 1.45.0-alpha

The versions come from the tagged dependencyManagement/build.gradle.kts at v2.34.0 (otelSdkVersion = "1.68.0", semConvVersion = "1.45.0"). The alpha versions follow that file's own -alpha derivation. All of them are published on Maven Central. Release notes: opentelemetry-java-instrumentation v2.34.0.

semconv 1.45.0 deprecates messaging.system (MessagingIncubatingAttributes.MESSAGING_SYSTEM) in favor of messaging.system.name, and -Werror turns that deprecation into a compile error in sentry-opentelemetry-core. Sentry conventions only define messaging.system, and Sentry's span op inference keys on it. SentrySpanExporter now reads both attributes and writes the value to messaging.system, preferring messaging.system when both are set. OTel instrumentation 2.34.0 still emits messaging.system, but its main branch emits only messaging.system.name, so this keeps working once that ships. The deprecation is suppressed only on that small helper.

💡 Motivation and Context

Keeps the SDK, instrumentation, Java agent, and semconv versions on one compatible set from a single instrumentation release.

📝 Checklist

  • I added GH Issue ID & Linear ID
  • I added tests to verify the changes.
  • No new PII added or SDK only sends newly added PII if sendDefaultPII is enabled.
  • I updated the docs if needed.
  • I updated the wizard if needed.
  • Review from the native team if needed.
  • No breaking change or entry added to the changelog.
  • No breaking change for hybrid SDKs or communicated to hybrid SDKs.

🔮 Next steps

  • SpanDescriptionExtractor still keys queue descriptions on messaging.system only. Spans that set only messaging.system.name won't get a messaging description there.

via automation sched_261db03a479fb5d02cbeb631bea7e131 · Run ID sched_261db03a479fb5d02cbeb631bea7e131:1795165200000, alexander.dinauer.

--

View Session [Sentry]

@github-actions github-actions Bot added the risk: medium PR risk score: medium label Nov 20, 2026
@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

PR risk: medium

For commit 14621e2.

Main concerns: dependencies customers inherit, data sent to Sentry, reach.

Rules that block low also fired:

  • R5: dependencies or bundled SDK versions changed: gradle/libs.versions.toml
  • R6: build or release configuration changed: gradle/libs.versions.toml

This label is a hint for reviewers, not an approval.

@sentry

sentry Bot commented Nov 20, 2026 •

Copy link
Copy Markdown

📲 Install Builds

Android

🔗 App Name App ID Version Configuration
SDK Size io.sentry.tests.size 8.65.0 (1) release

⚙️ sentry-android Build Distribution Settings

Co-Authored-By: Alexander Dinauer <alexander.dinauer@sentry.io>
@github-actions github-actions Bot added risk: medium PR risk score: medium and removed risk: medium PR risk score: medium labels Nov 20, 2026
Co-Authored-By: Alexander Dinauer <alexander.dinauer@sentry.io>
@github-actions github-actions Bot added risk: medium PR risk score: medium and removed risk: medium PR risk score: medium labels Nov 20, 2026

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: medium PR risk score: medium

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants