Skip to content

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

@rodolfoBee

Description

@rodolfoBee

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Waiting for: Community

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions