Skip to content

feat(sdk-trace-web): deprecate instrumentation utilities - #7000

Open
keshav-019 wants to merge 1 commit into
open-telemetry:mainfrom
keshav-019:5869
Open

feat(sdk-trace-web): deprecate instrumentation utilities#7000
keshav-019 wants to merge 1 commit into
open-telemetry:mainfrom
keshav-019:5869

Conversation

@keshav-019

Copy link
Copy Markdown

Which problem is this PR solving?

@opentelemetry/sdk-trace-web currently exports instrumentation-specific utilities and supporting types. These utilities should be owned by the instrumentation packages that consume them so they can eventually be removed from the SDK.

Fixes #5869

Short description of the changes

  • Mark all 15 instrumentation utility exports listed in [sdk-trace-web] deprecate instrumentation utilities in SDK package #5869 as deprecated.
  • Direct instrumentation packages to copy the required implementations or definitions locally.
  • Document that the exports will be removed in a future major release.
  • Add an Unreleased changelog entry.
  • Preserve existing runtime behavior.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

  • npm.cmd run lint --workspace=@opentelemetry/sdk-trace-web
  • npm.cmd run compile --workspace=@opentelemetry/sdk-trace-web
  • npm.cmd run compile --ignore-scripts
  • Browser suite: 60/60 tests passed using Headless Chrome with GPU disabled for the local sandbox
  • Web Worker suite: 50/50 tests passed using Headless Chrome with GPU disabled for the local sandbox
  • Generated declaration audit confirmed all 15 exports retain @deprecated metadata

Checklist:

  • Followed the style guidelines of this project
  • Unit tests have been added (not applicable: documentation-only deprecations with no runtime changes)
  • Documentation has been updated

@keshav-019
keshav-019 requested review from a team as code owners August 14, 2026 10:28
@linux-foundation-easycla

linux-foundation-easycla Bot commented Aug 14, 2026

Copy link
Copy Markdown

CLA Signed
The committers listed above are authorized under a signed CLA.

  • ✅ login: keshav-019 / name: Keshav (0d9d482)

@github-actions

Copy link
Copy Markdown

Welcome, contributor! Thank you for your contribution to opentelemetry-js.

Important reminders:

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Aug 14, 2026

Copy link
Copy Markdown

Pull request dashboard status

Waiting on reviewers · refreshed 2026-09-02 16:39 UTC

Review the latest changes.

Also blocked by: Merge conflicts.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

@overbalance overbalance added the browser Browser-specific additions or benefits label Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

browser Browser-specific additions or benefits

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[sdk-trace-web] deprecate instrumentation utilities in SDK package

2 participants