getsentry / sentry-docs

Sentry's documentation (and tools to build it)
https://docs.sentry.io
Other
336 stars 1.47k forks source link

Document best practice for monorepos / sentry project mappings #10631

Open chargome opened 4 months ago

chargome commented 4 months ago

Core or SDK?

Platform/SDK

Which part? Which one?

all / core

Description

Some users don't have a clear idea on how to connect and identify multiple apps within Sentry. E.g. I have a monorepo with X services, should I set up X Sentry projects for that or just one. What are the up- and downsides of each approach, how can i properly identify the apps if using a single project etc.

Suggested Solution

We could add a small section to best practices on that (maybe linked from similar existing pages like Microfrontends and Multiple Sentry Instances)

rtuin commented 1 week ago

It seems the best practice for this is to create one project per app.

source 1, source 2, via the forum