Skip to content

Mongo instrumentation doesn't work with promises #12181

Closed
@richardsimko

Description

@richardsimko

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

  1. Run an app with Sentry and mongodb
  2. Make a mongodb call with a promise (Not using callbacks)

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Package: nodeIssues related to the Sentry Node SDK

    Type

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions