-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Mongo instrumentation doesn't work with promises #12181
Comments
Sorry, wrong SDK, it's supposed to be |
Thanks for opening this, we'll try to see if we can contribute this fix upstream! |
Ehh this is really embarrassing but... It works again. Perhaps my analysis of the root cause was wrong, but since Sentry 8.2.1 it seems to have been fixed. Perhaps #12028 fixed it? If you have access to our data here is a trace with 8.0.0 where it didn't work: And here is one with 8.1.1 for the same endpoint (No changes have been made to the relevant code) which does work: |
I'm glad it was resolved with a simple version bump. Thanks for helping us validate! |
Is there an existing issue for this?
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
8.2.1
Framework Version
8.2.1
Link to Sentry event
No response
SDK Setup
N/A
Steps to Reproduce
Expected Result
Traces appear in the instrumentation for the mongodb call (This worked on Sentry < v8.0)
Actual Result
Traces don't appear in the instrumentation
I was asked to open this as a separate issue here: #11499 (comment)
It's an issue in open telemetry which is being tracked here: open-telemetry/opentelemetry-js-contrib#2218
The text was updated successfully, but these errors were encountered: