-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
No Server Spans or Profiles when using nodeProfilingIntegration on Vercel #15949
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
Thx for filing @landenai! It seems like Shot in the dark: This might be related to us detecting ESM vs CJS incorrectly. Again, debug logs can help us out here as we emit a "Running in ESM|CommonJS mode" log after our detection attempt (also worth noting, there's a pending bugfix via #15927). Last question: when removing |
I've never gotten db spans with this exact setup and thought it was just a next/sentry limitation. I thought if we wanted spans we would have to instrument them manually. |
Hey @rchasman it depends a bit on which library you're using (we have auto instrumentation for To debug this, can you help us out with debug logs I asked for above? Also, would appreciate a minimal reproduction on the latest SDK version. Thanks! |
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
9.10.1
Framework Version
Next 15.0.1
Link to Sentry event
https://demo.sentry.io/discover/trace/f1eebb3564204653b318bf254d6bedfa/?dataset=transactions&field=title&field=project&field=user.display&field=timestamp&name=All%20Errors&node=txn-ab4a4d9e58844679b25971740d7a78e0&project=4508968158429184&query=&queryDataset=transaction-like&sort=-timestamp&source=discover&statsPeriod=7d×tamp=1743522159&yAxis=count%28%29
Reproduction Example/SDK Setup
With nodeProfilingIntegration is enabled in the Next.js SDK, we don't get all the server spans that we do when it is disabled. Additionally there aren't any profiles coming in from the SDK. This behavior is only observed on Vercel, localhost works as expected. (Link to how the above trace should look)
Steps to Reproduce
Expected Result
Trace has all server spans and profiles attached
Actual Result
Trace does not have all server spans and no profiles attached
The text was updated successfully, but these errors were encountered: