getsentry / getsentry/sentry-java

Consider disabling usage of `SentryReactorThreadLocalAccessor` if OpenTelemetry is used

未關閉
#4,824 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Java Spans Task
主要語言
Kotlin
星號
1.4k
分支
478
平均合併
3 天 4 小時
30 天內合併 PR
72

描述

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

貢獻指南

開啟貢獻指南

研究方向

搜尋 SentryReactorThreadLocalAccessor 和 SentryReactorUtils,然後檢查它們的 WebFlux 整合以及 sentry.reactive.thread-local-accessor-enabled 屬性。確定如何偵測 OpenTelemetry 的使用,並保留該屬性作為明確覆寫。使用 OpenTelemetry 時跳過 SentryReactorUtils,除非該屬性為 true,即表示完成。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, spring
領域
backend, observability
Issue 類型
功能
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。