acoustic-carpenter-78188
05/11/2026, 9:14 PMgo.opentelemetry.io/otel/sdk from 1.28.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
• AddandIsRandomonWithRandom, andTraceFlagsonIsRandominSpanContextfor W3C Trace Context Level 2 Random Trace ID Flag support. (#8012)go.opentelemetry.io/otel/trace
• Add service detection withinWithService. (#7642)go.opentelemetry.io/otel/sdk/resource
• AddandDefaultWithContextinEnvironmentWithContextto support plumbinggo.opentelemetry.io/otel/sdk/resourcethrough default and environment detectors. (#8051)context.Context
• Support attributes with empty value () inattribute.EMPTY. (#8038)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc
• Support attributes with empty value () inattribute.EMPTY. (#8038)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc
• Support attributes with empty value () inattribute.EMPTY. (#8038)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploggrpc
• Support attributes with empty value () inattribute.EMPTY. (#8038)go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
• Support attributes with empty value () inattribute.EMPTY. (#8038)go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp
• Support attributes with empty value () inattribute.EMPTY. (#8038)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
• Support attributes with empty value () inattribute.EMPTY. (#8038)go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest
• Add support for per-series start time tracking for cumulative metrics in. Setgo.opentelemetry.io/otel/sdk/metricto enable. (#8060)OTEL_GO_X_PER_SERIES_START_TIMESTAMPS=true
• Addfor metric reader for configuring cardinality limits specific to the instrument kind. (#7855)WithCardinalityLimitSelector
Changed
• Introduce theType inEMPTYto reflect that an empty value is now a valid value, withgo.opentelemetry.io/otel/attributeremaining as a deprecated alias ofINVALID. (#8038)EMPTY
• Improve slice handling into optimize short slice values with fixed-size fast paths. (#8039)go.opentelemetry.io/otel/attribute
• Improve performance of span metric recording inby returning early if self-observability is not enabled. (#8067)go.opentelemetry.io/otel/sdk/trace
• Improve formatting of metric data diffs in. (#8073)go.opentelemetry.io/otel/sdk/metric/metricdata/metricdatatest
Deprecated
• DeprecateinINVALID. Usego.opentelemetry.io/otel/attributeinstead. (#8038)EMPTY
Fixed
• Return spec-compliantdescription. This is a breaking behavioral change, but it is necessary to make the implementation spec-compliant. (#8027)TraceIdRatioBased
• Fix a race condition inwhere the lastvalue aggregation could collect the value 0 even when no zero-value measurements were recorded. (#8056)go.opentelemetry.io/otel/sdk/metric
• Limit HTTP response body to 4 MiB into 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/otlptrace/otlptracehttp
• Limit HTTP response body to 4 MiB into 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
• Limit HTTP response body to 4 MiB into 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
•detector inWithHostIDto use full path forgo.opentelemetry.io/otel/sdk/resourcecommand on BSD. (#8113)kenv
• Fix missinginrequest.GetBodyto correctly handle HTTP2 GOAWAY frame. (#8096)go.opentelemetry.io/otel/exporters/otlp/otlplog/otlploghttp
[1.42.0/0.64.0/0.18.0/0.0.16] 2026-03-06
Added
• Addflyteorg/flytepackage. The package contains sema…go.opentelemetry.io/otel/semconv/v1.40.0
acoustic-carpenter-78188
05/15/2026, 2:27 AM