opentelemetry-sdk breaking changes
opentelemetry-sdk 1.45.2 (October 29, 2026) is its newest release with breaking changes, 5 of them. The first: Enforces metric cardinality limits of 2000 by default in opentelemetry-sdk 1.45.2. Every breaking API change we have recorded in opentelemetry-sdk on PyPI: 51 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 1.46.1, released December 4, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
opentelemetry-sdk 1.45.2 breaking changes
- Behavior changed
Metric series beyond the cardinality limit (default 2000) are now folded into an otel.metric.overflow attribute, which can change exported metrics. Configure View(aggregation_cardinality_limit=...), reader cardinality_limits, or... github.com - Signature changed
opentelemetry.sdk.metrics.export.InMemoryMetricReader.__init__
Was def __init__(self, preferred_temporality: dict[type, AggregationTemporality] | None = None, preferred_aggregation: dict[type, opentelemetry.sdk.metrics.view.Aggregation] | None = None) -> None; now def __init__(self... pypi.org - Signature changed
opentelemetry.sdk.metrics.export.MetricReader.__init__
Was def __init__(self, preferred_temporality: dict[type, AggregationTemporality] | None = None, preferred_aggregation: dict[type, opentelemetry.sdk.metrics.view.Aggregation] | None = None, *, otel_component_type: OtelComponentTypeValues |... pypi.org - Signature changed
opentelemetry.sdk.metrics.export.PeriodicExportingMetricReader.__init__
Was def __init__(self, exporter: MetricExporter, export_interval_millis: float | None = None, export_timeout_millis: float | None = None) -> None; now def __init__(self, exporter: MetricExporter, export_interval_millis: float | None =... pypi.org - Signature changed
opentelemetry.sdk.metrics.view.View.__init__
Was def __init__(self, instrument_type: type[Instrument] | None = None, instrument_name: str | None = None, meter_name: str | None = None, meter_version: str | None = None, meter_schema_url: str | None = None, name: str | None = None... pypi.org
opentelemetry-sdk 1.45.0 breaking changes
- Removed
opentelemetry.sdk.resources.AttributeValue
opentelemetry.sdk.resources.AttributeValue was removed in opentelemetry-sdk 1.45.0 pypi.org - Removed
opentelemetry.sdk.util.AttributeValue
opentelemetry.sdk.util.AttributeValue was removed in opentelemetry-sdk 1.45.0 pypi.org - Behavior changed
Views match instrument names case-insensitively on every platform. Views that previously matched differently cased names may now apply to more instruments. github.com - Behavior changed
Scope name matching in the tracer, meter and logger configurators is now case-sensitive on every platform. Configs relying on case-insensitive matching may stop applying. github.com - Behavior changed
Attribute values that Python considers equal but the data model does not are now kept in separate metric streams. Existing metric series may split. github.com - Behavior changed
The default HTTP transport for the OTLP proto HTTP exporters is now urllib3. Code relying on the previous default backend may need to adjust. github.com - Behavior changed
Bytes set as attribute values are passed through unchanged instead of being utf-8 decoded to a string. Code that expects a decoded string must be updated. github.com - Behavior changed
The otel.sdk.processor processed metric is now counted when records are submitted to the exporter, not after export, and exporter failures no longer set error.type on it. Dashboards built on this metric will change. github.com - Behavior changed
Creating a view with ExponentialBucketHistogramAggregation for an asynchronous instrument now raises an error instead of silently producing no data. Such views must be changed. github.com - Behavior changed
opentelemetry.util.types.AttributeValue
The AttributeValue type now includes None, mixed-type sequences and mappings. Code that type-checks attribute values may need to accept these shapes. github.com
And 25 more in this version. Sign up to see every change
opentelemetry-sdk 1.44.0 breaking changes
- Removed
The deprecated Events API and SDK were removed. Use LogRecord with the event_name field set instead. github.com - Behavior changed
NaN and Inf measurements are silently dropped instead of being recorded into aggregations. github.com - Behavior changed
Context
In-place mutation of Context through inherited dict methods is now prevented. Code that mutated Context this way must be changed. github.com - Behavior changed
ExplicitBucketHistogramAggregation
ExplicitBucketHistogramAggregation now raises ValueError for boundaries that are not strictly increasing or finite. Code passing such boundaries must fix them. github.com - Behavior changed
ReadableLogRecord.context
Exported log records now carry an empty Context instead of the original. Custom log exporters that read context must be updated. github.com - Default changed
ProcessResourceDetector
ProcessResourceDetector no longer emits process.command_args and process.command_line by default. Users who need them must pass include_command_args=True. github.com - Configuration changed
When OTEL_CONFIG_FILE is set, the OTEL_PYTHON_* environment variable extensions are bypassed and not applied. github.com - Signature changed
EnvironmentGetter.get
The environment snapshot caching in the env carrier was removed. Callers must now pass the mapping to read environment variables from as the first argument of EnvironmentGetter.get. github.com - Signature changed
opentelemetry.sdk.metrics.view.ExponentialBucketHistogramAggregation.__init__
Was def __init__(self, max_size: int = 160, max_scale: int = 20); now def __init__(self, max_size: int = 160, max_scale: int = 20, record_min_max: bool = True). pypi.org - Signature changed
opentelemetry.sdk.resources.ProcessResourceDetector.__init__
Was def __init__(self, raise_on_error: bool = False) -> None; now def __init__(self, raise_on_error: bool = False, *, include_command_args: bool = False) -> None. pypi.org
And 1 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.