Sentry Init with GlobalHubMode Enabled #2581
-
Hi Team, currently I am integrating Sentry with my application, I am initializing SentryOptions bean with my application property. Is there way to initialize Sentry other than This way we'll need to hardcode configuration and we won't be able to fetch from application property automatically. can we add init method with below signature? How reliable GlobalHubMode is? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
hi, what is your application exactly? Is it backend? For backend in general you should not use the global hub mode, because it will mess up the SDK when working in a multi-threaded environment... but @adinauer has more opinions on that probably. |
Beta Was this translation helpful? Give feedback.
hi, what is your application exactly? Is it backend? For backend in general you should not use the global hub mode, because it will mess up the SDK when working in a multi-threaded environment... but @adinauer has more opinions on that probably.