sentry-javascript
sentry-javascript copied to clipboard
Multiple DSNs
- [X] Review the documentation: https://docs.sentry.io/
- [X] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues
- [X] Use the latest release: https://github.com/getsentry/sentry-javascript/releases
Package + Version
- [X]
@sentry/browser - [ ]
@sentry/node - [ ]
raven-js - [ ]
raven-node(raven for node) - [ ] other:
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?
Hope this example helps: https://codesandbox.io/s/l7qrkjn7nm
+1