Skip to content

Bump go.opentelemetry.io/otel/sdk from 1.36.0 to 1.43.0 - #7

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.43.0
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/go.opentelemetry.io/otel/sdk-1.43.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 8, 2026

Copy link
Copy Markdown

Bumps go.opentelemetry.io/otel/sdk from 1.36.0 to 1.43.0.

Changelog

Sourced from go.opentelemetry.io/otel/sdk's changelog.

[1.43.0/0.65.0/0.19.0] 2026-04-02

Added

  • Add IsRandom and WithRandom on TraceFlags, and IsRandom on SpanContext in go.opentelemetry.io/otel/trace for W3C Trace Context Level 2 Random Trace ID Flag support. (#8012)
  • Add service detection with WithService in go.opentelemetry.io/otel/sdk/resource. (#7642)
  • Add DefaultWithContext and EnvironmentWithContext in go.opentelemetry.io/otel/sdk/resource to support plumbing context.Context through default and environment detectors. (#8051)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#8038)
  • Support attributes with empty value (attribute.EMPTY) in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#8038)
  • Add support for per-series start time tracking for cumulative metrics in go.opentelemetry.io/otel/sdk/metric. Set OTEL_GO_X_PER_SERIES_START_TIMESTAMPS=true to enable. (#8060)
  • Add WithCardinalityLimitSelector for metric reader for configuring cardinality limits specific to the instrument kind. (#7855)

Changed

  • Introduce the EMPTY Type in go.opentelemetry.io/otel/attribute to reflect that an empty value is now a valid value, with INVALID remaining as a deprecated alias of EMPTY. (#8038)
  • Improve slice handling in go.opentelemetry.io/otel/attribute to optimize short slice values with fixed-size fast paths. (#8039)
  • Improve performance of span metric recording in go.opentelemetry.io/otel/sdk/trace by returning early if self-observability is not enabled. (#8067)
  • Improve formatting of metric data diffs in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#8073)

Deprecated

  • Deprecate INVALID in go.opentelemetry.io/otel/attribute. Use EMPTY instead. (#8038)

Fixed

  • Return spec-compliant TraceIdRatioBased description. This is a breaking behavioral change, but it is necessary to make the implementation spec-compliant. (#8027)
  • Fix a race condition in go.opentelemetry.io/otel/sdk/metric where the lastvalue aggregation could collect the value 0 even when no zero-value measurements were recorded. (#8056)
  • Limit HTTP response body to 4 MiB in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp to mitigate excessive memory usage caused by a misconfigured or malicious server. Responses exceeding the limit are treated as non-retryable errors. (#8108)
  • Limit HTTP response body to 4 MiB in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp to mitigate excessive memory usage caused by a misconfigured or malicious server. Responses exceeding the limit are treated as non-retryable errors. (#8108)
  • Limit HTTP response body to 4 MiB in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp to mitigate excessive memory usage caused by a misconfigured or malicious server. Responses exceeding the limit are treated as non-retryable errors. (#8108)
  • WithHostID detector in go.opentelemetry.io/otel/sdk/resource to use full path for kenv command on BSD. (#8113)
  • Fix missing request.GetBody in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp to correctly handle HTTP2 GOAWAY frame. (#8096)

[1.42.0/0.64.0/0.18.0/0.0.16] 2026-03-06

Added

  • Add go.opentelemetry.io/otel/semconv/v1.40.0 package. The package contains semantic conventions from the v1.40.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.39.0. (#7985)

... (truncated)

Commits
  • 9276201 Release v1.43.0 / v0.65.0 / v0.19.0 (#8128)
  • 61b8c94 chore(deps): update module github.com/mattn/go-runewidth to v0.0.22 (#8131)
  • 97a086e chore(deps): update github.com/golangci/dupl digest to c99c5cf (#8122)
  • 5e363de limit response body size for OTLP HTTP exporters (#8108)
  • 35214b6 Use an absolute path when calling bsd kenv (#8113)
  • 290024c fix(deps): update module google.golang.org/grpc to v1.80.0 (#8121)
  • e70658e fix: support getBody in otelploghttp (#8096)
  • 4afe468 fix(deps): update googleapis to 9d38bb4 (#8117)
  • b9ca729 chore(deps): update module github.com/go-git/go-git/v5 to v5.17.2 (#8115)
  • 69472ec chore(deps): update fossas/fossa-action action to v1.9.0 (#8118)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.36.0 to 1.43.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md)
- [Commits](open-telemetry/opentelemetry-go@v1.36.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  dependency-version: 1.43.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Apr 8, 2026
@greptile-apps

greptile-apps Bot commented Apr 8, 2026

Copy link
Copy Markdown

Greptile Summary

This Dependabot PR bumps go.opentelemetry.io/otel/sdk from 1.36.0 to 1.43.0 and transitively updates the full otel v1.43.0 suite (otel, otel/metric, otel/sdk/metric, otel/trace, otel/auto/sdk), as well as stretchr/testify (1.10→1.11.1), golang.org/x/sys (0.38→0.42), and rogpeppe/go-internal (1.13.1→1.14.1). Notably, the go directive in go.mod is also bumped from 1.24.0 to 1.25.0, which sets a new minimum Go version requirement for consumers of this module.

Confidence Score: 4/5

Safe to merge after confirming the Go 1.25 toolchain bump was intentional.

The dependency update itself is routine and backed by a 98% Dependabot compatibility score, with no breaking API changes in otel v1.x. The P1 flag is the unannounced go 1.24→1.25 directive change, which raises the minimum Go version for all consumers and should be a deliberate decision, not a silent side-effect of a patch PR.

go.mod — confirm the go 1.25.0 directive bump is intentional and acceptable for the project's supported Go versions.

Vulnerabilities

No security concerns identified. The update includes a security-relevant improvement: HTTP OTLP exporters now cap response bodies at 4 MiB to prevent memory exhaustion from a misconfigured or malicious server (otel #8108).

Important Files Changed

Filename Overview
go.mod Updates otel suite to v1.43.0, testify to v1.11.1, x/sys to v0.42.0; also bumps the go directive from 1.24.0 to 1.25.0, which raises the minimum Go version for consumers
go.sum Corresponding checksum updates for all bumped dependencies; no issues found

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[go.opentelemetry.io/otel/sdk\n1.36.0 → 1.43.0] --> B[otel/trace\n1.37.0 → 1.43.0]
    A --> C[otel/metric\n1.37.0 → 1.43.0]
    A --> D[otel/sdk/metric\n1.36.0 → 1.43.0]
    A --> E[otel v1.43.0]
    A --> F[auto/sdk\n1.1.0 → 1.2.1]

    subgraph unchanged["⚠️ Not updated"]
        G[exporters/otlp/otlptrace v1.29.0]
        H[exporters/otlp/otlptracehttp v1.27.0]
        I[exporters/stdout/stdoutmetric v1.36.0]
        J[contrib/detectors/gcp v1.36.0]
    end

    subgraph other["Other bumps"]
        K[stretchr/testify\n1.10.0 → 1.11.1]
        L[golang.org/x/sys\n0.38.0 → 0.42.0]
        M[go directive\n1.24.0 → 1.25.0]
    end

    style M fill:#ff9999
    style unchanged fill:#fff3cd
Loading
Prompt To Fix All With AI
This is a comment left during a code review.
Path: go.mod
Line: 3

Comment:
**Unexpected Go toolchain version bump**

The `go` directive was raised from `1.24.0` to `1.25.0`. Since Go 1.21, this directive acts as a minimum toolchain requirement — any consumer of this library will need Go 1.25+ to build it. This is a breaking change for users on older toolchains and is unrelated to the otel/sdk version bump described in the PR title. Was this intentional?

How can I resolve this? If you propose a fix, please make it concise.

---

This is a comment left during a code review.
Path: go.mod
Line: 66-75

Comment:
**Partial otel exporter upgrade**

The core otel packages jump to v1.43.0, but several exporter/contrib packages remain behind:
- `go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0`
- `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0`
- `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.36.0`

Within otel's v1.x line the API is backward compatible, so this should compile. However, keeping the exporters 7–16 minor versions behind the SDK means you miss bug fixes (including the 4 MiB HTTP response body limit from #8108 in `otlptracehttp`) that were landed in the exporter packages alongside the SDK. Consider bumping these to v1.43.0 as well.

How can I resolve this? If you propose a fix, please make it concise.

Reviews (1): Last reviewed commit: "Bump go.opentelemetry.io/otel/sdk from 1..." | Re-trigger Greptile

Comment thread go.mod
module github.com/golang-migrate/migrate/v4

go 1.24.0
go 1.25.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Unexpected Go toolchain version bump

The go directive was raised from 1.24.0 to 1.25.0. Since Go 1.21, this directive acts as a minimum toolchain requirement — any consumer of this library will need Go 1.25+ to build it. This is a breaking change for users on older toolchains and is unrelated to the otel/sdk version bump described in the PR title. Was this intentional?

Prompt To Fix With AI
This is a comment left during a code review.
Path: go.mod
Line: 3

Comment:
**Unexpected Go toolchain version bump**

The `go` directive was raised from `1.24.0` to `1.25.0`. Since Go 1.21, this directive acts as a minimum toolchain requirement — any consumer of this library will need Go 1.25+ to build it. This is a breaking change for users on older toolchains and is unrelated to the otel/sdk version bump described in the PR title. Was this intentional?

How can I resolve this? If you propose a fix, please make it concise.

Comment thread go.mod
Comment on lines 66 to +75
github.com/zeebo/errs v1.4.0 // indirect
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
go.opentelemetry.io/contrib/detectors/gcp v1.36.0 // indirect
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.61.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.61.0 // indirect
go.opentelemetry.io/otel v1.37.0 // indirect
go.opentelemetry.io/otel v1.43.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0 // indirect
go.opentelemetry.io/otel/metric v1.37.0 // indirect
go.opentelemetry.io/otel/sdk v1.36.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.36.0 // indirect
go.opentelemetry.io/otel/trace v1.37.0 // indirect
go.opentelemetry.io/otel/metric v1.43.0 // indirect
go.opentelemetry.io/otel/sdk v1.43.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.43.0 // indirect

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Partial otel exporter upgrade

The core otel packages jump to v1.43.0, but several exporter/contrib packages remain behind:

  • go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0
  • go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0
  • go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.36.0

Within otel's v1.x line the API is backward compatible, so this should compile. However, keeping the exporters 7–16 minor versions behind the SDK means you miss bug fixes (including the 4 MiB HTTP response body limit from #8108 in otlptracehttp) that were landed in the exporter packages alongside the SDK. Consider bumping these to v1.43.0 as well.

Prompt To Fix With AI
This is a comment left during a code review.
Path: go.mod
Line: 66-75

Comment:
**Partial otel exporter upgrade**

The core otel packages jump to v1.43.0, but several exporter/contrib packages remain behind:
- `go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.29.0`
- `go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.27.0`
- `go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.36.0`

Within otel's v1.x line the API is backward compatible, so this should compile. However, keeping the exporters 7–16 minor versions behind the SDK means you miss bug fixes (including the 4 MiB HTTP response body limit from #8108 in `otlptracehttp`) that were landed in the exporter packages alongside the SDK. Consider bumping these to v1.43.0 as well.

How can I resolve this? If you propose a fix, please make it concise.

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

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants