getsentry / getsentry/sentry-java

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

Đang mở
#5,726 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Java Platform: Java
Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
478
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
67

Mô tả

### 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
kotlin
Lĩnh vực
api
Loại issue
Tính năng
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Ít trao đổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
52/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.