getsentry / getsentry/sentry-python

Remove automatic propagator setup from OTLPIntegration

未關閉
#6,732 3 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
Breaking change Bug Next Major OpenTelemetry Python Traces
主要語言
Python
星號
2.2k
分支
669
平均合併
1 天 40 分鐘
30 天內合併 PR
212

描述

The OTLP integration currently sets up a Sentry propagator by default. This injects `sentry-trace` and `baggage` headers on outgoing requests alongside, or instead of, the standard W3C `traceparent` header.

Per the [OTLP integration spec](), the integration must not set up an automatic propagator. Cross-service trace propagation should be handled by `propagateTraceparent` or by user-configured OpenTelemetry propagators.

Docs:
Update docs to reflect the breaking change and manual propagator configuration path. The planned removal notice is already present in the OTLP docs.

Migration path:
Users who still need Sentry-specific headers in mixed Sentry-native and OpenTelemetry environments can configure propagators manually via the OpenTelemetry propagation API.

貢獻指南

開啟貢獻指南

研究方向

Start by locating OTLPIntegration, its tests, and the OTLP documentation, then inspect where the default Sentry propagator is configured. Verify that automatic propagator setup is removed, that propagation remains available through propagateTraceparent or user-configured OpenTelemetry propagators, and that the breaking-change migration path is documented.

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

評估

技術堆疊
python
領域
observability-sre
Issue 類型
重構
難度
3/5
預估耗時
1-2 天
活躍度
活躍
描述清晰度
基本清楚
新手友好度
68/100

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

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