<#6954 Bump go.opentelemetry.io/otel/sdk from 1.37...
# flyte-github
a
#6954 Bump go.opentelemetry.io/otel/sdk from 1.37.0 to 1.40.0 in /flytectl Pull request opened by dependabot[bot] Bumps go.opentelemetry.io/otel/sdk from 1.37.0 to 1.40.0. Changelog Sourced from go.opentelemetry.io/otel/sdk's changelog.
[1.40.0/0.62.0/0.16.0] 2026-02-02
Added
• Add
AlwaysRecord
sampler in
go.opentelemetry.io/otel/sdk/trace
. (#7724)
• Add
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)
• Add
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)
Changed
• Improve the concurrent performance of
HistogramReservoir
in
go.opentelemetry.io/otel/sdk/metric/exemplar
by 4x. (#7443)
• Improve the concurrent performance of
FixedSizeReservoir
in
go.opentelemetry.io/otel/sdk/metric/exemplar
. (#7447)
• Improve performance of concurrent histogram measurements in
go.opentelemetry.io/otel/sdk/metric
. (#7474)
• Improve performance of concurrent synchronous gauge measurements in
go.opentelemetry.io/otel/sdk/metric
. (#7478)
• Add experimental observability metrics in
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric
. (#7492)
•
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)
• Improve performance of concurrent exponential histogram measurements in
go.opentelemetry.io/otel/sdk/metric
. (#7702)
• The
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)
• The
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)
Fixed
• Fix bad log message when key-value pairs are dropped because of key duplication in
go.opentelemetry.io/otel/sdk/log
. (#7662)
• Fix
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)
• Fix
SetAttributes
on
Record
in
go.opentelemetry.io/otel/sdk/log
to not log that attributes are dropped when they are actually not dropped. (#7662)
• Fix missing
request.GetBody
in
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
to correctly handle HTTP/2
GOAWAY
frame. (#7794)
•
WithHostID
detector in
go.opentelemetry.io/otel/sdk/resource
to use full path for
ioreg
command on Darwin (macOS). (#7818)
Deprecated
• Deprecate
go.opentelemetry.io/otel/exporters/zipkin
. For more information, see the OTel blog post deprecating the Zipkin exporter. (#7670)
[1.39.0/0.61.0/0.15.0/0.0.14] 2025-12-05
Added
• Greatly reduce the cost of recording metrics in
go.opentelemetry.io/otel/sdk/metric
using hashing for map keys. (#7175)
• Add
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)
• Add experimental observability for the Prometheus exporter in
go.opentelemetry.io/otel/exporters/prometheus
. Check the
go.opentelemetry.io/otel/exporters/prometheus/internal/x
package documentation for more information. (#7345)
• Add experimental observability metrics in
go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
. (#7353)
• Add temporality selector functions
DeltaTemporalitySelector
,
CumulativeTemporalitySelector
,
LowMemoryTemporalitySelector
to `<http://go.opentelemetry.io/otel/sdk/metric|go.opentele…
flyteorg/flyte