getsentry / getsentry/sentry-java

Add a flag to `SentryApolloInterceptor` to stop attaching tracing headers for Apollo v2

未关闭
#5,726 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Java Platform: Java
主要语言
Kotlin
星标
1.4k
派生
478
平均合并
2 天 22 小时
30 天内合并 PR
69

描述

### Description

There's no URL available before the request goes out in our Apollo v2 integration. We're attaching tracing headers without checking against `tracePropagationTargets`.

We could:
- add an opt-out flag to disable this (recommended)
- remove trace headers from Apollo v2

贡献指南

打开贡献指南

调研方向

Start at SentryApolloInterceptor and inspect the Apollo v2 request path, especially how tracing headers are attached without a URL. Confirm the intended opt-out behavior from the issue description, then add coverage for the flag and verify that the headers are absent when it is enabled; done means Apollo v2 supports the documented opt-out without affecting other behavior.

由索引模型根据 Issue 内容生成。

评估

技术栈
kotlin
领域
api
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
冷清
描述清晰度
基本清楚
新手友好度
52/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。