Skip to content

Re-Enable OTEL#4643

Open
mhornbacher wants to merge 5 commits intodrizzle-team:mainfrom
mhornbacher:enable-otel
Open

Re-Enable OTEL#4643
mhornbacher wants to merge 5 commits intodrizzle-team:mainfrom
mhornbacher:enable-otel

Conversation

@mhornbacher
Copy link
Copy Markdown

@mhornbacher mhornbacher commented Jun 15, 2025

OTEL was disabled in 2023 due to requiring a top-level await. This PR seeks to re-introduce OTEL on an opt-in basis (by installing to '@opentelemetry/api` package) with a console error for the rare misconfigured imports if the module is found so that it does not fail silently.

For more context see issue #371, commit 5279a7b and PR #664

Re-Enable OTEL as since 2023 support for top-level await has become quite common. And at least in my debugging of the built output, this is the only thing stopping OTEL integration for drizzle
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