getsentry / getsentry/sentry-java
No longer attach outgoing headers in OTel propagators if there's no URL
- 主要语言
- Kotlin
- 星标
- 1.4k
- 派生
- 478
- 平均合并
- 2 天 22 小时
- 30 天内合并 PR
- 69
描述
### Description
Currently we look for a URL on outgoing requests to check against `tracePropagationTargets`. If none can be found in span attributes, we still attach headers. We want to change this to only attach headers if the URL can be found.
This is a breaking change and should land in the next major version.
We also need to check whether there's any cases where there's no URL attributes but the SDK should still attach headers, e.g. for Queue producers and similar things.
Once checked also make sure to update (dev) docs.
贡献指南
调研方向
Inspect the OpenTelemetry propagator handling for outgoing requests and how tracePropagationTargets is applied when no URL attribute exists. Check queue producers and similar cases for valid URL-less propagation, then update the developer documentation for the breaking change. Done means the intended propagation behavior and documented exceptions are verified.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- kotlin
- 领域
- observability-sre
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100