getsentry / getsentry/sentry-javascript

Improve SvelteKit client navigation spans

Offen
#16,549 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Improvement SvelteKit
Vorherrschende Sprache
TypeScript
Sterne
8.7k
Forks
1.8k
Ø Merge
1 T. 17 Std.
Gemergte PRs (30 T.)
515

Beschreibung

### Problem Statement

I noticed a while ago, that navigation spans are extremely short sometimes (1-5ms) which makes me a bit suspicious if we're not missing some spans (e.g. resource spans or similar).

### Solution Brainstorm

* investigate with better e2e test routes
* perhaps stop directly ending the navigation span on the actual end of the navigation but rely on the idle span ending behaviour instead?
* ensure multiple quick subsequent navigations are still treated as separate traces and spans.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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