sentry-docs icon indicating copy to clipboard operation
sentry-docs copied to clipboard

Feedback report: Micro-frontend architecture questions

Open shanamatthews opened this issue 2 years ago • 2 comments

Core or SDK?

Platform/SDK

Which part? Which one?

Vue SDK

Description

https://docs.sentry.io/platforms/javascript/guides/vue/configuration/integrations/modulemetadata/

"I have a micro front-end architecture. We don't use module federation. We have a custom architecture written by us. In summary, We have a root project for direction for child apps. We get a bundle js file from cdn for each child application. For example, the header and child project in the same page. I am setting up the configuration for sentry in the header project. I use metadata and makeMultiplexedTransport to understand which project the error occurred in and which DSN it was sent to. But errors that happen in any vue files are not caught by the sentry. I guess I should pass the vue instance to the sentry init function but my init config is in the header project and my error is in teh child project. How can I do this?"

Suggested Solution

Verify if this use case is supported and consider adding extra information into a troubleshooting section if needed.

shanamatthews avatar Oct 04 '23 23:10 shanamatthews

Routing to @getsentry/product-owners-sdks-web-frontend for triage ⏲️

getsantry[bot] avatar Oct 04 '23 23:10 getsantry[bot]

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] avatar Oct 04 '23 23:10 getsantry[bot]

Closing this due to inactivity - we should discuss these specific use cases in https://github.com/getsentry/sentry-javascript and then add documentation if needed.

chargome avatar Dec 11 '24 09:12 chargome