Skip to content

chore(deps): go.opentelemetry.io/otel v1.46.0, contrib v0.71.0 - #14058

Merged
estesp merged 1 commit into
containerd:mainfrom
thaJeztah:bump_otels
Aug 28, 2026
Merged

estesp merged 1 commit into
containerd:mainfrom
thaJeztah:bump_otels

Conversation

@thaJeztah

Copy link
Copy Markdown
Member

No description provided.

Copilot AI lite review requested due to automatic review settings August 27, 2026 22:06
@github-project-automation github-project-automation Bot moved this to Needs Triage in Pull Request Review Aug 27, 2026

Copilot AI 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.

Pull request overview

This PR updates the project’s OpenTelemetry Go dependencies (core go.opentelemetry.io/otel to v1.46.0 and contrib modules to v0.71.0), refreshing vendored sources and associated metadata to pick up upstream fixes (including race/panic fixes) and new OTLP/HTTP JSON support.

Changes:

  • Bump OpenTelemetry core and contrib module versions and refresh vendoring (go.mod, go.sum, vendor/modules.txt, vendored sources).
  • Add OTLP/HTTP “http/json” protocol/encoding support in the OTLP trace HTTP exporter (new JSON codec + protocol options/env vars).
  • Incorporate upstream SDK changes (span attribute concurrency fix, nil-safety fixes, updated processor observability semantics, doc/CI metadata updates).

Reviewed changes

Copilot reviewed 1 out of 44 changed files in this pull request and generated no comments.

Show a summary per file
File Description
vendor/modules.txt Updates vendored module version manifest entries.
vendor/go.opentelemetry.io/otel/versions.yaml Updates OTel module-set versions to match v1.46.0 and related experimental versions.
vendor/go.opentelemetry.io/otel/VERSIONING.md Expands versioning/compatibility documentation.
vendor/go.opentelemetry.io/otel/version.go Updates OTel API version string to 1.46.0.
vendor/go.opentelemetry.io/otel/sdk/version.go Updates OTel SDK version string to 1.46.0.
vendor/go.opentelemetry.io/otel/sdk/trace/span.go Adds attribute sharing/dirty tracking to address concurrent attribute reads.
vendor/go.opentelemetry.io/otel/sdk/trace/simple_span_processor.go Changes processed-span metric timing (record before export) and removes export-error attribution.
vendor/go.opentelemetry.io/otel/sdk/trace/internal/observ/simple_span_processor.go Aligns observability instrumentation with new “processed at submission time” semantics.
vendor/go.opentelemetry.io/otel/sdk/resource/resource.go Prevents nil receiver panic in Resource.MarshalLog().
vendor/go.opentelemetry.io/otel/sdk/internal/x/x.go Documentation wording cleanup (“user-configured”, “zero value”).
vendor/go.opentelemetry.io/otel/sdk/internal/attrnorm/truncate.go Documentation clarifications around truncation semantics.
vendor/go.opentelemetry.io/otel/renovate.json Adds rule disabling major Go module updates to v2+.
vendor/go.opentelemetry.io/otel/README.md Updates supported environment matrix (adds Go 1.27 rows).
vendor/go.opentelemetry.io/otel/Makefile Adds tooling target(s) and affected benchmark shard support; refines build targets.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/version.go Updates OTLP trace exporter version string to 1.46.0.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/options.go Adds Encoding and WithEncoding to select protobuf vs JSON payloads.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/x/x.go Documentation wording cleanup (“user-configured”, “zero value”).
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/version.go Updates internal HTTP exporter version constant to 1.46.0.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/retry/retry.go Retry docs cleanup and context error wrapping change (context.Cause).
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/otlpjson/export_trace_service_response.go Adds JSON protobuf marshal/unmarshal helpers for OTLP trace responses.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/otlpjson/export_trace_service_request.go Adds OTLP JSON encoding/decoding implementation for trace requests.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/otlpconfig/optiontypes.go Adds Protocol enum for grpc/http-protobuf/http-json.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/otlpconfig/options.go Adds protocol option plumbing and defaults for HTTP vs gRPC configs.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/internal/otlpconfig/envconfig.go Adds env var support for protocol selection.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/doc.go Updates package docs to describe protobuf or JSON payloads + protocol env vars.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/client.go Implements request/response marshal/unmarshal for protobuf vs JSON and sets Content-Type accordingly.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/x/x.go Documentation wording cleanup (“user-configured”, “zero value”).
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/version.go Updates internal gRPC exporter version constant to 1.46.0.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/retry/retry.go Retry docs cleanup and context error wrapping change (context.Cause).
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/optiontypes.go Adds Protocol enum for grpc/http-protobuf/http-json.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/options.go Adds protocol option plumbing and defaults for HTTP vs gRPC configs.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/otlpconfig/envconfig.go Adds env var support for protocol selection.
vendor/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/internal/observ/target.go Documentation clarifications for canonical target parsing.
vendor/go.opentelemetry.io/otel/CHANGELOG.md Adds v1.46.0 release notes and updates comparison links.
vendor/go.opentelemetry.io/otel/attribute/set.go Adds nil receiver guard to (*Set).Filter.
vendor/go.opentelemetry.io/otel/attribute/internal/xxhash/xxhash.go Adds hash Reset API for reuse.
vendor/go.opentelemetry.io/otel/attribute/hash.go Adds Hasher API and routes Set hashing through it for consistency.
vendor/go.opentelemetry.io/otel/.golangci.yml Updates linter configuration argument list for context-as-argument.
vendor/go.opentelemetry.io/contrib/propagators/envcar/version.go Updates envcar propagator version to 0.71.0.
vendor/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/version.go Updates otelhttp instrumentation version to 0.71.0.
vendor/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/version.go Updates otelgrpc instrumentation version to 0.71.0.
vendor/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/stats_handler.go Adjusts metric attribute construction and adds error.type handling for stable rpc metrics.
go.sum Updates module checksums for bumped dependencies.
go.mod Bumps required OTel (+ related) dependency versions.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-project-automation github-project-automation Bot moved this from Needs Triage to Review In Progress in Pull Request Review Aug 28, 2026
@estesp
estesp added this pull request to the merge queue Aug 28, 2026
Merged via the queue into containerd:main with commit bb5988d Aug 28, 2026
55 checks passed
@github-project-automation github-project-automation Bot moved this from Review In Progress to Done in Pull Request Review Aug 28, 2026
@thaJeztah
thaJeztah deleted the bump_otels branch August 28, 2026 14:59
fuweid pushed a commit that referenced this pull request Sep 30, 2026
Backport of #14042 to
release/2.3, requested in
#14196.

release/2.3 carries grpc v1.80.0, so this is a 1.80.0 -> 1.83.2 jump rather
than the 1.83.1 -> 1.83.2 step taken on main. It picks up GHSA-2v4p-qf9q-27wj
(the advisory the main bump was for); the issue additionally cites two HTTP/2
transport advisories that do not require xDS, GHSA-hrxh-6v49-42gf and
GHSA-vp52-pcj8-j9qc.

Produced with `go get google.golang.org/[email protected] && make vendor` on
release/2.3 rather than a textual cherry-pick of the main commit, so the
vendored tree is what the 2.3 module graph actually resolves to.

Minimum-version resolution pulls two of these to or past the versions the
issue asks for:

  go.opentelemetry.io/otel  v1.43.0 -> v1.44.0  (GHSA-5wrp-cwcj-q835 lists 1.44.0)
  golang.org/x/text         v0.38.0 -> v0.41.0  (go.dev/issue/80142 lists 0.39.0)

Remaining transitive moves: x/crypto 0.53.0 -> 0.55.0, x/net 0.55.0 -> 0.58.0,
x/mod 0.36.0 -> 0.38.0, x/oauth2 0.35.0 -> 0.36.0, x/sync 0.21.0 -> 0.22.0,
x/sys 0.46.0 -> 0.47.0, x/term 0.44.0 -> 0.45.0, and genproto googleapis
api/rpc to 20260526163538-3dc84a4a5aaa.

This stops at otel v1.44.0 rather than the v1.46.0 / contrib v0.71.0 of
#14058; whether an LTS patch
should go further than the advisory minimum is a maintainer call.

Assisted-by: Claude Opus 5
Signed-off-by: Vishal Srinivasan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

4 participants