getsentry / getsentry/sentry-javascript

Improve SvelteKit client navigation spans

Open
#16,549 0 comments 0 reactions 0 assignees View on GitHub
Improvement SvelteKit
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.