Alexander Dinauer

Results 410 comments of Alexander Dinauer

Hey @phillipuniverse thanks for opening this issue. We can look into adding support, but I can't give any ETA at the moment. #4686 is just to enable other SDKs using...

Sentry has used [`-agentpath`](https://github.com/getsentry/sentry-java/tree/agent-latest/agent) before but feedback was that it slowed down applications significantly, see https://github.com/getsentry/sentry-java/issues/617 . Not sure why that was.

We could probably simply extend `SentryJdbcEventListener`, implementing the following methods: - `onBeforeCommit(ConnectionInformation connectionInformation)` - `onAfterCommit(ConnectionInformation connectionInformation, long timeElapsedNanos, SQLException e)` - `onBeforeRollback(ConnectionInformation connectionInformation)` - `onAfterRollback(ConnectionInformation connectionInformation, long timeElapsedNanos, SQLException e)`

Can you please try setting `maxBreadcrumbs` to 0 (`sentry.max-breadcrumbs=0`) and see if that helps?

To fix #3312 we replaced `synchronized` in `SynchronizedQueue` with usage of `ReentrantLock`.

@randyhbh have you had a chance to test the `maxBreadcrumbs` setting?

Thanks for the update @randyhbh. We'll try to improve scope clone performance in the future.

While https://github.com/getsentry/sentry-java/issues/4736 requires a new major, this does not so long as we don't add any default values (as suggested here).