getsentry / getsentry/sentry-java

Consider disabling usage of `SentryReactorThreadLocalAccessor` if OpenTelemetry is used

Aperta
#4,824 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Java Spans Task
Lingua principale
Kotlin
Stelle
1.4k
Fork
478
Merge medio
2g 23h
PR unite (30g)
67

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.