@opentelemetry/exporter-prometheus breaking changes
@opentelemetry/exporter-prometheus 0.301.0 (November 5, 2026) is its newest release with breaking changes. The first: Configuration changed startNodeSDK. Every breaking API change we have recorded in @opentelemetry/exporter-prometheus on npm: 8 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 0.302.0, released December 2, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
@opentelemetry/exporter-prometheus 0.301.0 breaking changes
- Configuration changed
startNodeSDK
This commit marks a breaking change to how startNodeSDK reads configuration from environment variables, but the notes do not say what users must change. Check the sdk-node changelog before upgrading. github.com
@opentelemetry/exporter-prometheus 0.300.0 breaking changes
- Signature changed
PrometheusExporter.DEFAULT_OPTIONS
Was static readonly DEFAULT_OPTIONS: {host: undefined; port: number; endpoint: string; prefix: string; appendTimestamp: boolean; withResourceConstantLabels: undefined; withoutScopeInfo: boolean; withoutTargetInfo: boolean;}; now static... npmjs.com - Signature changed
PrometheusExporter.DEFAULT_OPTIONS.host
Was host: undefined; now host: string. npmjs.com - Signature changed
PrometheusSerializer._serializeResource
Was protected _serializeResource(resource: Resource): string; now protected _serializeResource(resource: Resource, metadata?: PrometheusMetadata, writeMetadata?: boolean): string. npmjs.com
@opentelemetry/exporter-prometheus 0.222.0 breaking changes
- Behavior changed
Creating a MeterProvider from a config file now throws when it fails instead of continuing silently. Code that relied on the silent failure must handle the error. github.com - Behavior changed
Creating a Propagator from a config file now throws when it fails instead of continuing silently. Code that relied on the silent failure must handle the error. github.com - Behavior changed
Creating a Resource from a config file now throws when it fails instead of continuing silently. Code that relied on the silent failure must handle the error. github.com - Behavior changed
Creating a TracerProvider from a config file now throws when it fails instead of continuing silently. Code that relied on the silent failure must handle the error. github.com
Related packages
- @opentelemetry/core
- @opentelemetry/semantic-conventions
- @opentelemetry/sdk-node
- @opentelemetry/sdk-metrics
- @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.