getsentry / getsentry/sentry-javascript

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

未关闭
#15,761 1 条评论 2 个 reaction 已指派 0 人 在 GitHub 查看
Browser Improvement Spans
主要语言
TypeScript
星标
8.7k
派生
1.8k
平均合并
1 天 17 小时
30 天内合并 PR
523

描述

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

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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