sentry-java icon indicating copy to clipboard operation
sentry-java copied to clipboard

Consider disabling usage of `SentryReactorThreadLocalAccessor` if OpenTelemetry is used

Open adinauer opened this issue 2 months ago • 1 comments

Description

SentryReactorThreadLocalAccessor should not be necessary if OpenTelemetry is used for scope propagation through its Context instead of relying on our own ThreadLocal.

Also see https://github.com/getsentry/sentry-java/issues/4806

We could skip using SentryReactorUtils in WebFlux if OpenTelemetry is being used, unless sentry.reactive.thread-local-accessor-enabled is set to true.

adinauer avatar Oct 21 '25 14:10 adinauer

JAVA-210

linear[bot] avatar Oct 21 '25 14:10 linear[bot]