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

@sentry/nextjs autoInstrumentServerFunctions should not force all pages to use serverless functions #8323

Closed
curiousercreative opened this issue Jun 13, 2023 · 2 comments
Labels

Comments

@curiousercreative
Copy link

Problem Statement

With a default configuration for nextjs and deployed to Vercel.com, every route/page is forced to use serverless functions even when they would otherwise be SSG. I only noticed this fact today when an AWS outage in our particular region took down our entire production deployment, not a single page would load and instead would respond with an internal server error.

Solution Brainstorm

The default behavior for autoInstrumentServerFunctions: true should not force Next.js static pages to become server-side rendered.

@AbhiPrasad
Copy link
Member

AbhiPrasad commented Jun 15, 2023

Hey @curiousercreative - this seems like a bug on our side, this shouldn't be happening. Could you go through our bug report template and add some details about your SDK version, your next.js version, SDK setup details, details about page vs. app directory, to help us debug. You can just amend the existing issue description instead of creating a new issue.

Thank you!

@AbhiPrasad
Copy link
Member

Closing this issue for cleanup. Please re-open if this still applies. Thanks!

@AbhiPrasad AbhiPrasad closed this as not planned Won't fix, can't repro, duplicate, stale Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

3 participants