Skip to content

Capture request.url for Next.js server spans #16404

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mydea opened this issue May 28, 2025 · 0 comments
Open

Capture request.url for Next.js server spans #16404

mydea opened this issue May 28, 2025 · 0 comments

Comments

@mydea
Copy link
Member

mydea commented May 28, 2025

Description

Today, the Next.js SDK in many cases captures only headers as event.request data, e.g. like this:

This leads to the url being missing context when looking at issues. We should investigate if we can find a way to add the url there, somehow - this probably involves injecting the url at some earlier point into async local storage so we can pick it up in our handlers, or something like this...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants