getsentry / getsentry/sentry-javascript

Investigate auto-instrumentation limitation using IITM for meta-frameworks

Offen
#19,078 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
javascript Task
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
515

Beschreibung

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.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.