Hi there - I have a django webapp reporting Exceptions and also javascript errors into a single sentry project. Lately we integrated another javascript library from another team and want that reporting to a different sentry project.
In django: RAVEN_CONFIG = { 'dsn': '12345xxx_with_username:password@host' }
and in the template we configure the public dsn matching the 12345 dsn.
I created the new project in sentry, but I assume that just reconfiguring the public dsn in the template to match the new projects public dsn will result in an error.
Is my assumption wrong? If not, how do I configure the splitted reporting?
You likely don’t want them in separate projects unless they’re actually separate services (which it doesnt seem like is the case). If you hold out for another few weeks we’ll have a solution that helps out your use case immensely.
If you did still want to do this, you’d want to make sure you only initialize Raven once (I’m not sure if you can even do it twice), and set the DSN to the project you want at that point in time.