You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thanks for writing in.
Could you please post a reproduction repo or a stackblitz to make sure we're on the same page?
To narrow down the issue, please set debug: true and tracesSampleRate: 1.0 in both sentry.client.config.ts and sentry.server.config.ts and set disableLogger to false inside next.config.js. Run your app and paste logs you get in the console. You should see a transaction id for the pageload in your log. Additionally, could please you verify in the network tab that the request payload for the envelope api call contains the transaction id of the pageload?
I've tried this out locally and I was able to get pageload spans, albeit sporadically. That's something we need to look into.
beforeSendTransaction(event,hint){event.spans?.forEach((span)=>console.log(`Duration for span ${span.description}: ${span.timestamp!-span.start_timestamp}`));returnevent;},
to your sentry.client.config.tsSentry.init call and paste console output?
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.17.0
Framework Version
Next 13.5.6 (Pages Router)
Link to Sentry event
No response
SDK Setup/Reproduction Example
Steps to Reproduce
Expected Result
Sentry should track page load operations with web vitals.
Actual Result
Sentry only tracks navigation operations and leaves out page loads and web vitals reports.
The text was updated successfully, but these errors were encountered: