getsentry / getsentry/sentry-python

Remove automatic propagator setup from OTLPIntegration

オープン
#6,732 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
Breaking change Bug Next Major OpenTelemetry Python Traces
主要言語
Python
スター
2.2k
フォーク
669
平均マージ
1日 1時間
マージ済み PR(30日)
213

説明

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 を短くまとめたダイジェスト。