Repo is intended to be a starting place/quick solution for a performance demo using the Next.js sdk.
node -v v14.2.0
-
npm install
-
Run wizard:
npx @sentry/wizard -i nextjs
-
Add backend to
.env.local
in root directory specifying:NEXT_PUBLIC_BACKEND=<myDeployedBackend>
- Development:
npm run dev
- no sourcemap upload - Production:
npm run build
- sourcemap uploads via webpack plugin then:npm run start
Relevant transaction categories include /
and checkout
for pageload and non-pageload operations.
- Latencies associated with server side rendering (SSR)
getServerSideProps
are currently not captured by the sdk.
- Make deployble to GCP.
- Add breadcrumbs.
- Add custom tags.
- Add beforeSend()
- Add other pages for navigation.
- Set user.