Skip to content

Migrate or deprecate browser packages from opentelemetry-js and opentelemetry-js-contrib #209

@martinkuba

Description

@martinkuba

Browser-specific packages are currently spread across three repositories: opentelemetry-js, opentelemetry-js-contrib, and this repository (opentelemetry-browser). This makes it harder to maintain a coherent browser observability story and creates confusion for users about where to find browser-specific packages.

The goal of this effort is to consolidate all browser-specific packages into this repository, deprecating the original packages and providing clear migration paths. This includes both instrumentations and supporting infrastructure (SDK components, context managers, resource detectors, and shared utilities).

Instrumentations

Event-based instrumentations (straightforward move)

These are newer, event-based instrumentations that can be added directly to the @opentelemetry/browser-instrumentation package as subpath exports.

Span-based instrumentations (important, needs migration planning)

These are widely used, span-based instrumentations that require careful migration planning to minimize disruption for existing users.

Span-based instrumentations (needs discussion)

These are more experimental, span-based instrumentations. Each one needs individual discussion about whether to move, deprecate, or replace with a new implementation.

Non-instrumentation browser packages (needs discussion)

These are SDK components in opentelemetry-js that are browser-specific. They need discussion on whether and how to migrate them, as they have implications for the broader SDK architecture.

Metapackage

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions