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

Update sentry integ to official sentry/nextjs #1409

Merged
merged 43 commits into from
Mar 15, 2022
Merged

Conversation

belgattitude
Copy link
Owner

@belgattitude belgattitude commented Feb 23, 2022

6 months ago, @sentry/nextjs was included in #216... Had to revert it and go back to traditional webpack aliasing.

Has it changed since ?

Size increase (tested without swc to be sure)

  • a 30kb increase when moving from @sentry/browser+@sentry/node to @sentry/nextjs. Had to increase the size-limit check. Probably due to automatic inclusion of sentry tracing. Compare: treemap without sentry/nextjs with @sentry/nextjs
    image

  • I could gain back 30kb when changing the import sentry.browser.config.ts to '@sentry/react' rather than '@sentry/nextjs`

image

Blocked by

Monitor pages

In server side: with vercel the custom error page can't be displayed if a non success http status code is send (need to look for a solution).

image

@vercel
Copy link

vercel bot commented Feb 23, 2022

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

nextjs-monorepo-example-blog-app – ./apps/blog-app

🔍 Inspect: https://vercel.com/belgattitude/nextjs-monorepo-example-blog-app/G7e58P1SrPT7b5XapJwwo4ZVsBtq
✅ Preview: https://nextjs-monorepo-example-blog-app-git-sentry-nextjs-belgattitude.vercel.app

nextjs-monorepo-example-web-app – ./apps/web-app

🔍 Inspect: https://vercel.com/belgattitude/nextjs-monorepo-example-web-app/BxEm4FZbNaYh2pegHN6xJJMgBNC6
✅ Preview: https://nextjs-monorepo-example-web-app-git-sentry-nextjs-belgattitude.vercel.app

nextjs-monorepo-example-vite-app – ./apps/vite-app

🔍 Inspect: https://vercel.com/belgattitude/nextjs-monorepo-example-vite-app/GBQfdLqMetANqzJWHTwepTJiJHpu
✅ Preview: https://nextjs-monorepo-example-vite-app-git-sentry-nextjs-belgattitude.vercel.app

@changeset-bot
Copy link

changeset-bot bot commented Feb 23, 2022

🦋 Changeset detected

Latest commit: 790dda3

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
web-app Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@codeclimate
Copy link

codeclimate bot commented Feb 23, 2022

Code Climate has analyzed commit 790dda3 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

View more on Code Climate.

@ghost
Copy link

ghost commented Feb 23, 2022

CodeSee Review Map:

Review these changes using an interactive CodeSee Map

Review in an interactive map

View more CodeSee Maps

Legend

CodeSee Map Legend

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant