getsentry / getsentry/sentry-java

Consider disabling usage of `SentryReactorThreadLocalAccessor` if OpenTelemetry is used

Open
#4,824 1 comment 0 reactions 0 assignees View on GitHub
Java Spans Task
Dominant language
Kotlin
Stars
1.4k
Forks
478
Avg merge
2d 23h
Merged PRs (30d)
67

Description

### 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`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.