getsentry / getsentry/sentry-javascript
Investigate auto-instrumentation limitation using IITM for meta-frameworks
Aperta
javascript
Task
- Lingua principale
- TypeScript
- Stelle
- 8.7k
- Fork
- 1.8k
- Merge medio
- 1g 17h
- PR unite (30g)
- 515
Descrizione
We have an issue where modules are not being patched correctly in meta-frameworks. This prevents users from getting AI integrations out of the box and forces them to use manual instrumentation.
Core problem: auto-instrumentation fails because meta-frameworks import modules **before** they are registered with the `import-in-the-middle` hook system. Meta-frameworks often parse files to discover routes, which triggers top-level imports. As a result, AI SDKs load before Sentry can register and patch them.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.