getsentry / getsentry/sentry-javascript

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

Offen
#15,761 1 Kommentar 2 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Browser Improvement Spans
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
515

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.