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

INP transaction tag not matching pageload transaction #12855

Closed
3 tasks done
edwardgou-sentry opened this issue Jul 10, 2024 · 1 comment · Fixed by #12871
Closed
3 tasks done

INP transaction tag not matching pageload transaction #12855

edwardgou-sentry opened this issue Jul 10, 2024 · 1 comment · Fixed by #12871
Labels
Package: browser Issues related to the Sentry Browser SDK Type: Bug

Comments

@edwardgou-sentry
Copy link
Contributor

edwardgou-sentry commented Jul 10, 2024

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which SDK are you using?

@sentry/browser

SDK Version

8.9.2

Framework Version

@sentry/remix

Link to Sentry event

https://daily-habits-ben-coe-test-orga.sentry.io/insights/browser/pageloads/?project=4507062370107392&statsPeriod=14d

SDK Setup/Reproduction Example

Sentry.init({
  debug: true,
  dsn: 'https://9736cd89fad569a4016ba7ce0d2a79c0@o4506956365430784.ingest.us.sentry.io/4507062370107392',
  tracesSampleRate: 1,
  integrations: [
    Sentry.browserTracingIntegration({
      useEffect,
      useLocation,
      useMatches,
    }),
  ]
});

Here's the repo:
https://github.com/bcoe/happ

Steps to Reproduce

The transaction name attribute on INP spans don't match the transaction names for pageloads. This causes INPs and Pageloads to not be grouped under the same route/transaction name in the Webvitals UI

Expected Result

The pageload transaction name is picked up as routes/habits. The transaction for INPs occurring on this page should also be routes/habits

Actual Result

image

@github-actions github-actions bot added the Package: browser Issues related to the Sentry Browser SDK label Jul 10, 2024
@edwardgou-sentry
Copy link
Contributor Author

cc @bcoe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: browser Issues related to the Sentry Browser SDK Type: Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant