getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.97k stars 1.57k forks source link

Multiple DSNs #1821

Closed sahilanguralla closed 5 years ago

sahilanguralla commented 5 years ago

Package + Version

Version:

4.4.2

Description

I have two javascript bundles that get loaded on same domain one by one. Both are maintained and versioned separately. Is there any way I can initialize two sentry instances separately for both bundles and send errors to respective DSNs?

HazAT commented 5 years ago

Hope this example helps: https://codesandbox.io/s/l7qrkjn7nm

Hobart2967 commented 2 years ago

+1