getsentry / getsentry/sentry-javascript
[Node]: Support otel auto instrumentation when code is bundled
未关闭
Improvement
OpenTelemetry
- 主要语言
- TypeScript
- 星标
- 8.7k
- 派生
- 1.8k
- 平均合并
- 1 天 17 小时
- 30 天内合并 PR
- 515
描述
### Problem Statement
OpenTelemetry auto instrumentation relies on `import-in-the-middle` and `require-in-the-middle` to hook loading of modules so they can be proxied and automatically instrumented. If the code is bundled, modules are not loaded so there is no auto instrumentation.
### Solution Brainstorm
Using the Sentry bundler plugins, we can wrap the "loading" of modules and call the existing callbacks that hook up the instrumentation.
贡献指南
评估
这个 Issue 还没有评估数据。