Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
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
Sentry.init({
dsn: SENTRY_DSN,
integrations: [
Sentry.browserTracingIntegration({
instrumentNavigation: true,
instrumentPageLoad: true,
enableInp: true,
enableLongTask: true,
}),
Sentry.breadcrumbsIntegration({
console: false,
}),
],
tracesSampleRate: 0.15,
beforeSend: (event, hints) => {
const location = window?.location?.href
const area = getAreaFromUrl(location)
if (!event.tags) return event
event.tags.area = area
return event
},
})
Steps to Reproduce
- Enter the URL of the page in the browser or refresh any page
- Once the page is done loading and the idle timeout is over - sentry should capture a page load event with Web Vitals
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.
Metadata
Metadata
Assignees
Type
Projects
Status
No status