NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Go modules, #507 by repository stars
Latest stable
v1.47.0
Last release 2 days ago
27 Nov 2026
Ships on a steady schedule
a new release about every 8 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
2373 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →
…now a valid value, with INVALID remaining as a deprecated alias of EMPTY.
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)WithService in go.opentelemetry.io/otel/sdk/resource. (#7642)DefaultWithContext and EnvironmentWithContext in go.opentelemetry.io/otel/sdk/resource to support plumbing context.Context through default and environment detectors. (#8051)attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#8038)attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#8038)attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#8038)attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#8038)attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#8038)attribute.EMPTY) in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#8038)attribute.EMPTY) in go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#8038)go.opentelemetry.io/otel/sdk/metric.
Set OTEL_GO_X_PER_SERIES_START_TIMESTAMPS=true to enable. (#8060)WithCardinalityLimitSelector for metric reader for configuring cardinality limits specific to the instrument kind. (#7855)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)go.opentelemetry.io/otel/attribute to optimize short slice values with fixed-size fast paths. (#8039)go.opentelemetry.io/otel/sdk/trace by returning early if self-observability is not enabled. (#8067)go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest. (#8073)INVALID in go.opentelemetry.io/otel/attribute. Use EMPTY instead. (#8038)TraceIdRatioBased description. This is a breaking behavioral change, but it is necessary to
make the implementation spec-compliant. (#8027)go.opentelemetry.io/otel/sdk/metric where the lastvalue aggregation could collect the value 0 even when no zero-value measurements were recorded. (#8056)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)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)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)request.GetBody in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp to correctly handle HTTP2 GOAWAY frame. (#8096)internal/observ package to stdoutlog by @yumosx in https://github.com/open-telemetry/opentelemetry-go/pull/7735Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.42.0...v1.43.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
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
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)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)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)request.GetBody in go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp to correctly handle HTTP2 GOAWAY frame. (#7931)go.opentelemetry.io/otel/propagation. (#7834)Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.41.0...v1.42.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
This release is the last to support [Go 1.24]. The next release will require at least [Go 1.25].
This release is the last to support Go 1.24. The next release will require at least Go 1.25.
Baggage in go.opentelemetry.io/otel/propagation and Parse and New in go.opentelemetry.io/otel/baggage to comply with W3C Baggage specification limits. New and Parse now return partial baggage along with an error when limits are exceeded. Errors from baggage extraction are reported to the global error handler. (#7880)oteltracegrpc by @itssaharsh in https://github.com/open-telemetry/opentelemetry-go/pull/7825otlptracehttp before performing operation by @itssaharsh in https://github.com/open-telemetry/opentelemetry-go/pull/7881Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.40.0...v1.41.0
This release is the last to support [Go 1.24]. The next release will require at least [Go 1.25].
Baggage in go.opentelemetry.io/otel/propagation and Parse and New in go.opentelemetry.io/otel/baggage to comply with W3C Baggage specification limits.
New and Parse now return partial baggage along with an error when limits are exceeded.
Errors from baggage extraction are reported to the global error handler. (#7880)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7914)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#7914)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#7914)Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Deprecate go.opentelemetry.io/otel/exporters/zipkin. For more information, see the OTel blog post deprecating the Zipkin exporter.
Enabled method to all synchronous instrument interfaces (Float64Counter, Float64UpDownCounter, Float64Histogram, Float64Gauge, Int64Counter, Int64UpDownCounter, Int64Histogram, Int64Gauge,) in go.opentelemetry.io/otel/metric. This stabilizes the synchronous instrument enabled feature, allowing users to check if an instrument will process measurements before performing computationally expensive operations. (#7763)AlwaysRecord sampler in go.opentelemetry.io/otel/sdk/trace. (#7724)go.opentelemetry.io/otel/semconv/v1.39.0 package. The package contains semantic conventions from the v1.39.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.38.0. (#7783, #7789)Exporter in go.opentelemetry.io/otel/exporters/prometheus ignores metrics with the scope go.opentelemetry.io/contrib/bridges/prometheus. This prevents scrape failures when the Prometheus exporter is misconfigured to get data from the Prometheus bridge. (#7688)go.opentelemetry.io/otel/sdk/metric. (#7474)go.opentelemetry.io/otel/exporters/stdout/stdoutmetric. (#7492)HistogramReservoir in go.opentelemetry.io/otel/sdk/metric/exemplar by 4x. (#7443)go.opentelemetry.io/otel/sdk/metric. (#7478)go.opentelemetry.io/otel/sdk/metric. (#7702)FixedSizeReservoir in go.opentelemetry.io/otel/sdk/metric/exemplar. (#7447)rpc.grpc.status_code attribute in the experimental metrics emitted from go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc is replaced with the rpc.response.status_code attribute to align with the semantic conventions. (#7854)rpc.grpc.status_code attribute in the experimental metrics emitted from go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc is replaced with the rpc.response.status_code attribute to align with the semantic conventions. (#7854)go.opentelemetry.io/otel/sdk/log. (#7662)DroppedAttributes on Record in go.opentelemetry.io/otel/sdk/log to not count the non-attribute key-value pairs dropped because of key duplication. (#7662)SetAttributes on Record in go.opentelemetry.io/otel/sdk/log to not log that attributes are dropped when they are actually not dropped. (#7662)WithHostID detector in go.opentelemetry.io/otel/sdk/resource to use full path for ioreg command on Darwin (macOS). (#7818)request.GetBody in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp to correctly handle HTTP2 GOAWAY frame. (#7794)go.opentelemetry.io/otel/exporters/zipkin. For more information, see the OTel blog post deprecating the Zipkin exporter. (#7670)TestEmit in attribute by @itssaharsh in https://github.com/open-telemetry/opentelemetry-go/pull/7751AlwaysRecord sampler by @vitorvasc in https://github.com/open-telemetry/opentelemetry-go/pull/7724Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.39.0...v1.40.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
…⚠️ Breaking Change: Previously, these cases were only logged and scrapes succeeded. Now, when translation would drop data (e.g., invalid label/value),…
go.opentelemetry.io/otel/sdk/metric using hashing for map keys. (#7175)WithInstrumentationAttributeSet option to go.opentelemetry.io/otel/log, go.opentelemetry.io/otel/metric, and go.opentelemetry.io/otel/trace packages. This provides a concurrent-safe and performant alternative to WithInstrumentationAttributes by accepting a pre-constructed attribute.Set. (#7287)go.opentelemetry.io/otel/exporters/prometheus. Check the go.opentelemetry.io/otel/exporters/prometheus/internal/x package documentation for more information. (#7345)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#7353)DeltaTemporalitySelector, CumulativeTemporalitySelector, LowMemoryTemporalitySelector to go.opentelemetry.io/otel/sdk/metric. (#7434)go.opentelemetry.io/otel/sdk/log. (#7548)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#7459)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#7486)go.opentelemetry.io/otel/sdk/trace. (#7374)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7512)go.opentelemetry.io/otel/sdk/metric. (#7524)go.opentelemetry.io/otel/sdk/metric. (#7571)OTEL_EXPORTER_OTLP_LOGS_INSECURE and OTEL_EXPORTER_OTLP_INSECURE environmental variables in go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7608)Enabled method to the Processor interface in go.opentelemetry.io/otel/sdk/log. All Processor implementations now include an Enabled method. (#7639)go.opentelemetry.io/otel/semconv/v1.38.0 package. The package contains semantic conventions from the v1.38.0 version of the OpenTelemetry Semantic Conventions. See the migration documentation for information on how to upgrade from go.opentelemetry.io/otel/semconv/v1.37.0.(#7648)Distinct in go.opentelemetry.io/otel/attribute is no longer guaranteed to uniquely identify an attribute set. Collisions between Distinct values for different Sets are possible with extremely high cardinality (billions of series per instrument), but are highly unlikely. (#7175)WithInstrumentationAttributes in go.opentelemetry.io/otel/trace synchronously de-duplicates the passed attributes instead of delegating it to the returned TracerOption. (#7266)WithInstrumentationAttributes in go.opentelemetry.io/otel/meter synchronously de-duplicates the passed attributes instead of delegating it to the returned MeterOption. (#7266)WithInstrumentationAttributes in go.opentelemetry.io/otel/log synchronously de-duplicates the passed attributes instead of delegating it to the returned LoggerOption. (#7266)OTEL_GO_X_SELF_OBSERVABILITY environment variable to OTEL_GO_X_OBSERVABILITY in go.opentelemetry.io/otel/sdk/trace, go.opentelemetry.io/otel/sdk/log, and go.opentelemetry.io/otel/exporters/stdout/stdouttrace. (#7302)Record in go.opentelemetry.io/otel/sdk/metric when min and max are disabled using NoMinMax. (#7306)prometheus.NewInvalidMetric in go.opentelemetry.io/otel/exporters/prometheus. ⚠️ Breaking Change: Previously, these cases were only logged and scrapes succeeded. Now, when translation would drop data (e.g., invalid label/value), the exporter emits a NewInvalidMetric, and Prometheus scrapes fail with HTTP 500 by default. To preserve the prior behavior (scrapes succeed while errors are logged), configure your Prometheus HTTP handler with: promhttp.HandlerOpts{ ErrorHandling: promhttp.ContinueOnError }. (#7363)go.opentelemetry.io/otel/attribute for better performance. (#7371)TranslationStrategy in go.opentelemetry.io/exporters/prometheus is changed from otlptranslator.NoUTF8EscapingWithSuffixes to otlptranslator.UnderscoreEscapingWithSuffixes. (#7421)go.opentelemetry.io/otel/sdk/metric. (#7427)Span.Flags field in go.opentelemetry.io/exporters/otlp/otlptrace/otlptracehttp and go.opentelemetry.io/exporters/otlp/otlptrace/otlptracegrpc. (#7438)ErrorType function in go.opentelemetry.io/otel/semconv/v1.37.0 now handles custom error types.
If an error implements an ErrorType() string method, the return value of that method will be used as the error type. (#7442)WithInstrumentationAttributes options in go.opentelemetry.io/otel/trace, go.opentelemetry.io/otel/metric, and go.opentelemetry.io/otel/log to properly merge attributes when passed multiple times instead of replacing them. Attributes with duplicate keys will use the last value passed. (#7300)attribute.Set when using the Equal method is not affected by the user overriding the empty set pointed to by attribute.EmptySet in go.opentelemetry.io/otel/attribute. (#7357)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc. (#7372)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp. (#7372)AddAttributes, SetAttributes, SetBody on Record in go.opentelemetry.io/otel/sdk/log to not mutate input. (#7403)RecordSet methods in go.opentelemetry.io/otel/semconv/v1.37.0. (#7655)RecordSet methods in go.opentelemetry.io/otel/semconv/v1.36.0. (#7656)FilterProcessor interface in go.opentelemetry.io/otel/sdk/log. The Enabled method has been added to the Processor interface instead. All Processor implementations must now implement the Enabled method. Custom processors that do not filter records can implement Enabled to return true. (#7639)stdouttrace.Exporter instrumentation in internal package by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7307recordingSpan by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7354TestNewInstrumentation by @yumosx in https://github.com/open-telemetry/opentelemetry-go/pull/7369context.Background() with t.Context()/b.Context() in tests by @flc1125 in https://github.com/open-telemetry/opentelemetry-go/pull/7352x package to otlptracegrpc by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7401internal/observ package to otlptracegrpc by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7404otlptracegrpc exporter by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7459x package to otlptracehttp by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7476internal/observ pkg to otlptracehttp by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7480otlptracehttp exporter by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7486internal/observ package to otlploghttp by @yumosx in https://github.com/open-telemetry/opentelemetry-go/pull/7484otlploghttp exporter by @yumosx in https://github.com/open-telemetry/opentelemetry-go/pull/7512internal/observ package to log by @yumosx in https://github.com/open-telemetry/opentelemetry-go/pull/7532SimpleLogProcessor from sdk/log by @yumosx in https://github.com/open-telemetry/opentelemetry-go/pull/7548semconv/v1.37.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7655semconv/v1.33.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7658semconv/v1.34.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7657semconv/v1.37.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7660semconv/v1.36.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7656semconv/v1.34.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7664semconv/v1.32.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7659semconv/v1.36.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7663semconv/v1.32.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7666semconv/v1.33.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7665ErrorType documentation in semconv/v1.37.0 by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7667TestClientInstrumentation by @MrAlias in https://github.com/open-telemetry/opentelemetry-go/pull/7677Full Changelog: https://github.com/open-telemetry/opentelemetry-go/compare/v1.38.0...v1.39.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.