Skip to content

Improve transaction setup for NextJS and caches #16213

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
Angelodaniel opened this issue May 7, 2025 · 0 comments
Open

Improve transaction setup for NextJS and caches #16213

Angelodaniel opened this issue May 7, 2025 · 0 comments

Comments

@Angelodaniel
Copy link
Member

Problem Statement

I got a full-stack Next.js app that leverages a Cloudflare cache heavily.

We can currently see that by default Sentry tracks these 2 transactions:
GET / - server-side render
/<somepath - fired client side

One server-side render will map to many client-side renders (due to caching), if that changes anything.

For cases like these server -> client tracing is simply not a good idea. The traces will look horrendous most likely.
for now, we don’t have a workaround unfortunately but we’ll add an option to disable server -> client tracing for SSR.

Solution Brainstorm

for now, we don’t have a workaround unfortunately but we’ll add an option to disable server -> client tracing for SSR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for: Product Owner
Development

No branches or pull requests

2 participants