Skip to content

chore(deps): bump go.opentelemetry.io/otel from 1.35.0 to 1.43.0#232

Merged
github-actions[bot] merged 4 commits into
mainfrom
dependabot/go_modules/go.opentelemetry.io/otel-1.43.0
Apr 24, 2026
Merged

chore(deps): bump go.opentelemetry.io/otel from 1.35.0 to 1.43.0#232
github-actions[bot] merged 4 commits into
mainfrom
dependabot/go_modules/go.opentelemetry.io/otel-1.43.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

Bumps go.opentelemetry.io/otel from 1.35.0 to 1.43.0.

Changelog

Sourced from go.opentelemetry.io/otel'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 dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 24, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 24, 2026 09:21
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 24, 2026
@github-actions github-actions Bot enabled auto-merge April 24, 2026 09:22
@dependabot dependabot Bot force-pushed the dependabot/go_modules/go.opentelemetry.io/otel-1.43.0 branch from 4d3fc4e to 58c09f6 Compare April 24, 2026 09:55
baywet
baywet previously approved these changes Apr 24, 2026
@github-project-automation github-project-automation Bot moved this to In Progress 🚧 in Kiota Apr 24, 2026
@github-actions

This comment has been minimized.

Bumps [go.opentelemetry.io/otel](https://github.com/open-telemetry/opentelemetry-go) from 1.35.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.35.0...v1.43.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel
  dependency-version: 1.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot dismissed baywet’s stale review April 24, 2026 09:59

The merge-base changed after approval.

@dependabot dependabot Bot force-pushed the dependabot/go_modules/go.opentelemetry.io/otel-1.43.0 branch from 58c09f6 to 41279db Compare April 24, 2026 09:59
@github-actions
Copy link
Copy Markdown
Contributor

Conflicts have been resolved. A maintainer will take a look shortly.

baywet
baywet previously approved these changes Apr 24, 2026
@baywet
Copy link
Copy Markdown
Member

baywet commented Apr 24, 2026

@copilot fix the build error

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 24, 2026

@copilot fix the build error

Fixed in c3bf426 and c11fdda. Two issues were resolved:

  1. kiota_client_factory_test.go: Changed t.Errorf(err.Error())t.Error(err) at lines 45 and 83, which fixes the non-constant format string in call to Errorf vet errors that caused the CI build failure.

  2. nethttp_request_adapter.go: Fixed a context leak — prepareContext now returns (context.Context, context.CancelFunc) and all 7 callers (Send, SendEnum, SendCollection, SendEnumCollection, SendPrimitive, SendPrimitiveCollection, SendNoContent) call defer cancel() to properly release the context.WithTimeout cancel function.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • example.com
    • Triggering command: /tmp/go-build168195008/b001/kiota-http-go.test /tmp/go-build168195008/b001/kiota-http-go.test -test.testlogfile=/tmp/go-build168195008/b001/testlog.txt -test.paniconexit0 -test.timeout=10m0s conf�� g_.a --global ux-amd64/pkg/tool/linux_amd64/vet user.name mbedded (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested a review from baywet April 24, 2026 11:40
Comment thread nethttp_request_adapter.go Outdated
Copilot AI requested a review from baywet April 24, 2026 14:21
@github-actions github-actions Bot merged commit eb9c9da into main Apr 24, 2026
7 checks passed
@github-actions github-actions Bot deleted the dependabot/go_modules/go.opentelemetry.io/otel-1.43.0 branch April 24, 2026 14:22
@github-project-automation github-project-automation Bot moved this from In Progress 🚧 to Done ✔️ in Kiota Apr 24, 2026
@sonarqubecloud
Copy link
Copy Markdown

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

Status: Done ✔️

Development

Successfully merging this pull request may close these issues.

2 participants