Skip to content

fix(otel): pass the logger provider to enable() for browser-instrumentation 0.11 - #105

Merged
adityareddy-dev merged 1 commit into
mainfrom
fix/otel-enable-logger-provider
Nov 12, 2026
Merged

adityareddy-dev merged 1 commit into
mainfrom
fix/otel-enable-logger-provider

Conversation

@adityareddy-dev

Copy link
Copy Markdown
Owner

The nightly OTel job started failing Nov 11 since @opentelemetry/browser-instrumentation 0.11.0 dropped setLoggerProvider and the provider now goes to enable(), which broke the docs example too.

Switched the example and the fixture to enable({ loggerProvider }) and bumped the pinned versions to match.

…tation 0.11

browser-instrumentation 0.11.0 dropped setLoggerProvider and registerInstrumentations no longer accepts its instrumentations. The docs example and the contract fixture now call enable({ loggerProvider }), and the pinned fixture moves to 0.11.0 so both CI jobs check that setup.
@adityareddy-dev
adityareddy-dev merged commit 7ca1e6b into main Nov 12, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant