getsentry / getsentry/sentry-javascript

Include request / response headers as attributes on `http.client` spans

Đang mở
#15,761 1 bình luận 2 reaction 0 người được giao Xem trên GitHub
Browser Improvement Spans
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

### Problem Statement

It would be valuable for answering certain types of performance questions to be able to see request and response headers on an `http.client` call.

As an example, `age` and `cf-cache-status` can help you determine whether a request was served from cache.

### Solution Brainstorm

Allow list certain headers, such as `age`, that we're confident are unlikely to include PII. Include these headers as attributes.

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

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

Đánh giá

Issue này chưa được đánh giá.

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.