getsentry / getsentry/sentry-javascript

Investigate auto-instrumentation limitation using IITM for meta-frameworks

Ouverte
#19,078 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
javascript Task
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
523

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.