Download Latest Version v1.42.0_v0.64.0_v0.18.0_v0.0.16 source code.tar.gz (3.7 MB)
Email in envelope

Get an email when there's a new version of OpenTelemetry

Home / v1.42.0
Name Modified Size InfoDownloads / Week
Parent folder
opentelemetry-go-1.42.0.zip 2026-03-06 4.5 MB
opentelemetry-go-1.42.0.tar.gz 2026-03-06 3.7 MB
opentelemetry-go-1.42.0.tar.gz.asc 2026-03-06 228 Bytes
opentelemetry-go-1.42.0.zip.asc 2026-03-06 228 Bytes
README.md 2026-03-06 6.1 kB
v1.42.0_v0.64.0_v0.18.0_v0.0.16 source code.tar.gz 2026-03-06 3.7 MB
v1.42.0_v0.64.0_v0.18.0_v0.0.16 source code.zip 2026-03-06 4.5 MB
Totals: 7 Items   16.4 MB 4

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)
  • Add Err and SetErr on Record in go.opentelemetry.io/otel/log to attach an error and set record exception attributes in go.opentelemetry.io/otel/log/sdk. (#7924)

Changed

  • TracerProvider.ForceFlush in go.opentelemetry.io/otel/sdk/trace joins errors together and continues iteration through SpanProcessors as opposed to returning the first encountered error without attempting exports on subsequent SpanProcessors. (#7856)

Fixed

  • Fix missing request.GetBody in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp to correctly handle HTTP2 GOAWAY frame. (#7931)
  • Fix semconv v1.39.0 generated metric helpers skipping required attributes when extra attributes were empty. (#7964)
  • Preserve W3C TraceFlags bitmask (including the random Trace ID flag) during trace context extraction and injection in go.opentelemetry.io/otel/propagation. (#7834)

Removed

  • Drop support for [Go 1.24]. (#7984)

What's Changed

New Contributors

Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.41.0...v1.42.0

Source: README.md, updated 2026-03-06