-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
feat(core): Add ModuleMetadata integration
#8475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(core): Add ModuleMetadata integration
#8475
Conversation
…/timfish/sentry-javascript into feat/module-metadata-integration
|
Problem: Expected Behavior: Steps to Reproduce: Current Behavior: Environment: Node.js version: 16.18.1 Dependencies Versions: subApplication: Note: |
|
@0131LWG Please open a new issue with concrete reproduction steps. You current description is not specific enough for us to reproduce. Thanks! |
This PR:
ModuleMetadataintegration that fetches metadata injected via bundler plugins and attaches is to themodule_metadataproperty of everyStackFrame.beforeSendor another integration to route events depending on the metadata.@sentry/core(ie. not inIntegrations) so it doesn't get included in default bundles@sentry/browserso that it can be used without depending directly on corebeforeEnvelopehook to strip themodule_metadataproperty from stack framesmodule_metadatais available inbeforeSendand is stripped before sending