Skip to content
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

Sentry tracing and profiling preventing PageSpeed Insights to compute scores #15357

Closed
3 tasks done
rodolfoBee opened this issue Feb 10, 2025 · 2 comments
Closed
3 tasks done
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK Stale

Comments

@rodolfoBee
Copy link
Member

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/nextjs

SDK Version

8.54.0

Framework Version

No response

Link to Sentry event

No response

Reproduction Example/SDK Setup

No response

Steps to Reproduce

  1. Create a NextJS project
  2. Build and deploy it
  3. Check PageSpeed Insights for the deployment
  4. Add Sentry SDK with performance and profiling enabled.
  5. Check PageSpeed Insights again.

Expected Result

Sentry to not conflict with Google's data and get results from PageSpeed Insights on both cases

Actual Result

See screenshots before and after adding Sentry, disabling tracing and profiling resolves the issue.
Before:

Image

After:

Image

The domain and page were redacted due to PII, the original can be found in this internal ticket.

@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Feb 10, 2025
@github-actions github-actions bot added the Package: nextjs Issues related to the Sentry Nextjs SDK label Feb 10, 2025
@lforst lforst self-assigned this Feb 12, 2025
@lforst
Copy link
Member

lforst commented Feb 25, 2025

I looked into this and cannot reproduce with any configuration (replay, browser-profiling). It would be cool to get some sort of reproduction here.

Suspicion is that maybe turning on replay or profiling is simply the straw that breaks the camel's back with regard to PSI timing out.

@lforst lforst removed their assignment Feb 25, 2025
@getsantry getsantry bot moved this to Waiting for: Community in GitHub Issues with 👀 3 Feb 25, 2025
@getsantry
Copy link

getsantry bot commented Mar 19, 2025

This issue has gone three weeks without activity. In another week, I will close it.

But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community, I will leave it alone ... forever!


"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀

@getsantry getsantry bot added the Stale label Mar 19, 2025
@getsantry getsantry bot closed this as not planned Won't fix, can't repro, duplicate, stale Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK Stale
Projects
Archived in project
Development

No branches or pull requests

2 participants