@opentelemetry/sdk-metrics breaking changes
@opentelemetry/sdk-metrics 3.1.0 (November 5, 2026) is its newest release with breaking changes. The first: Behavior changed startNodeSDK. Every breaking API change we have recorded in @opentelemetry/sdk-metrics on npm: 16 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 3.1.2, released December 2, 2026. Source repository
Its 3.0.0 release drops Node.js 18 and 20. Node.js end of life dates.
@opentelemetry/sdk-metrics 3.1.0 breaking changes
- Behavior changed
startNodeSDK
The env-based configuration path for startNodeSDK was refactored and the commit is marked as breaking. Review code that relies on environment-driven startNodeSDK setup. github.com
@opentelemetry/sdk-metrics 3.0.0 breaking changes
- Removed
Packages now require Node.js 22.15.0 or later. Users on Node.js 18 or 20 must upgrade their runtime before using SDK 3.x. github.com - Removed
Tools that used esnext now fall back to module or main. github.com - Removed
Packages now use an exports map, so imports such as build/src or build/esm paths fail. Import through the package name or a listed subpath. github.com - Removed
The minimum supported Node.js is now 22.15.0. Users on Node.js 18 or 20 must upgrade their runtime. github.com - Removed
AsyncHooksContextManager
Code that imports AsyncHooksContextManager must stop using it. github.com - Behavior changed
Internal file paths changed and package.json entry points are now used. Deep imports into these packages break, and package.json is no longer importable; use SDK_INFO from @opentelemetry/core instead. github.com - Behavior changed
Platform-specific code now resolves through the imports and exports fields. Bundlers without this support fail to resolve #platform and need upgrading. github.com - Behavior changed
Complex resource attribute values are dropped with a warning. Use simple values only. github.com - Behavior changed
cleanAttributes
Objects with undefined properties are cleaned, so those properties no longer appear in emitted attributes. github.com - Configuration changed
Bundlers without imports support fail; webpack needs 5.54 or later. See the migration guide. github.com
And 2 more in this version. Sign up to see every change
@opentelemetry/sdk-metrics 2.10.0 breaking changes
- Behavior changed
SimpleSpanProcessor.forceFlush
forceFlush now rejects when an export fails instead of resolving. Handle the rejection wherever you await it. github.com - Behavior changed
TraceIdRatioBasedSampler
At ratio 1 the sampler now includes trace IDs at the upper bound that it previously excluded. Sampling results at ratio 1 may differ. github.com - Signature changed
The force flush timeout is now configured per call. Code that set it elsewhere must pass it to each flush call. github.com
Related packages
- @opentelemetry/core
- @opentelemetry/semantic-conventions
- @opentelemetry/sdk-node
- @opentelemetry/exporter-prometheus
- @opentelemetry/otlp-exporter-base
- @opentelemetry/instrumentation-fetch
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.