getsentry / getsentry/sentry-javascript

Next.js Middleware Tracing Improvements

Open
#13,469 0 comments 1 reaction 0 assignees View on GitHub
Improvement Next.js
Dominant language
TypeScript
Stars
8.7k
Forks
1.8k
Avg merge
1d 17h
Merged PRs (30d)
515

Description

### Description

The way Next.js middleware spans are attached to traces is currently problematic for pageload traces: The middleware spans are completely detached from the rest of the trace.

Minimum desired outcome:
- The middleware span is attached to the pageload trace in some way shape or form.

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.