getsentry / getsentry/sentry-python
Remove automatic propagator setup from OTLPIntegration
- 主要语言
- Python
- 星标
- 2.2k
- 派生
- 669
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 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