getsentry / sentry-javascript

Official Sentry SDKs for JavaScript
https://sentry.io
MIT License
7.95k stars 1.56k forks source link

[Next.js] Switch _Pages Router_ serverside performance instrumentation over to OTEL #13737

Open lforst opened 1 month ago

lforst commented 1 month ago

Description

Switching to OTEL for all the different data fetchers like gSSP and gIP is necessary for the move to Turbopack.

Ref: https://github.com/getsentry/sentry-javascript/issues/8105

lforst commented 1 month ago

Things to test:

Feature next@13 node next@14 node next@15 node next@13 edge next@14 edge next@15 edge
Creates well-named overarching http.server span for pages
Creates span for getServerSideProps
Creates span for getInitialProps in Page
Creates span for getInitialProps in _app
Creates span for getInitialProps in _document
Creates span for getInitialProps in _error