Skip to content

deps: bump OpenTelemetry dependencies (semconv 1.45.0, bom 1.68.0, grpc-1.6 2.34.0-alpha, gcp 0.37.0) - #15421

Draft
lqiu96 wants to merge 3 commits into
googleapis:mainfrom
lqiu96:deps/upgrade-opentelemetry-semconv-1.45.0
Draft

lqiu96 wants to merge 3 commits into
googleapis:mainfrom
lqiu96:deps/upgrade-opentelemetry-semconv-1.45.0

Conversation

@lqiu96

@lqiu96 lqiu96 commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Fixes: #15315

Bumps the OpenTelemetry dependency stack together to avoid version skew across artifacts that depend on opentelemetry-api, opentelemetry-semconv, and opentelemetry-instrumentation:

  • io.opentelemetry:opentelemetry-bom: 1.67.0 -> 1.68.0 (release notes)
    • Aligns sdk-platform-java/gapic-generator-java-pom-parent/pom.xml with sdk-platform-java/dependencies.txt (1.68.0) and satisfies the opentelemetry-api:1.68.0 requirement of opentelemetry-grpc-1.6:2.34.0-alpha.
  • io.opentelemetry.semconv:opentelemetry-semconv: 1.29.0-alpha -> 1.45.0 (release notes)
    • Moves off the alpha release (already tracked at 1.45.0 in sdk-platform-java/dependencies.txt) so callers do not clash with libraries built against stable semantic conventions.
  • io.opentelemetry.instrumentation:opentelemetry-grpc-1.6: 2.1.0-alpha -> 2.34.0-alpha (release notes)
    • Replaces 2.1.0-alpha (built against opentelemetry-api:1.35.0) with 2.34.0-alpha (built against opentelemetry-api:1.68.0).
    • Updates GrpcTelemetry.newClientInterceptor() to createClientInterceptor() in Datastore and Firestore EnabledTraceUtil.
  • com.google.cloud.opentelemetry:{exporter-metrics,shared-resourcemapping}: 0.33.0 -> 0.37.0 (release notes)
    • Replaces 0.33.0 (built against opentelemetry-semconv:1.27.0-alpha, where alpha classes were moved/removed in stable releases) with 0.37.0 (built against stable opentelemetry-semconv:1.41.0, matching sdk-platform-java/dependencies.txt).
  • io.opentelemetry.contrib:opentelemetry-gcp-resources: 1.45.0-alpha -> 1.52.0-alpha (release notes)
    • Aligns third-party-dependencies/pom.xml with sdk-platform-java/dependencies.txt (1.52.0-alpha, which depends on com.google.cloud.opentelemetry:detector-resources-support:0.36.0 and opentelemetry-api:1.56.0).

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the opentelemetry-semconv.version dependency version from 1.29.0-alpha to 1.45.0 in the pom.xml file. There are no review comments to address, and I have no further feedback to provide.

@lqiu96 lqiu96 changed the title deps: bump opentelemetry-semconv to 1.45.0 deps: bump OpenTelemetry dependencies (semconv 1.45.0, bom 1.68.0, grpc-1.6 2.34.0-alpha, gcp 0.37.0) Dec 4, 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[java-storage] Upgrade opentelemetry-semconv:1.29.0-alpha to prevent clashing with other libraries

1 participant