-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Performance Issues After Sentry Configuration Update #15970
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
Comments
@NadiaSorokova thanks for reporting. Do you see similar performance slowdowns when running the project locally, or only in production environments? |
@AbhiPrasad Hi 😊 It was slowed down both locally and in production environments |
Under the hood the local variables feature uses the nodejs inspector, which does have performance impact, but it shouldn't impact rendering performance like this for nextjs. How complex is your next.js backend? Do you have an extensive react server components setup? For now you'll have to disable this feature, but we'll take a look further to see what is going on. |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/nextjs
SDK Version
8.47.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
No response
Steps to Reproduce
Added the following configuration to Sentry, and it's being fixed now after removing
includeLocalVariables: true
:sentry.client.config:
sentry.edge.config:
sentry.server.config:
Expected Result
The website’s performance should remain normal, without visible slowdowns or delays during page rendering
Actual Result
After adding the following config, the website's performance worsened. Pages started loading slowly. After removing the line
includeLocalVariables: true
, the performance returned to normal.The text was updated successfully, but these errors were encountered: