Title: Mongo instrumentation doesn't work with promises · Issue #12181 · getsentry/sentry-javascript · GitHub
Open Graph Title: Mongo instrumentation doesn't work with promises · Issue #12181 · getsentry/sentry-javascript
X Title: Mongo instrumentation doesn't work with promises · Issue #12181 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/12181
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mongo instrumentation doesn't work with promises","articleBody":"### Is there an existing issue for this?\r\n\r\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\r\n- [X] I have reviewed the documentation https://docs.sentry.io/\r\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\r\n\r\n### How do you use Sentry?\r\n\r\nSentry Saas (sentry.io)\r\n\r\n### Which SDK are you using?\r\n\r\n@sentry/node\r\n\r\n### SDK Version\r\n\r\n8.2.1\r\n\r\n### Framework Version\r\n\r\n8.2.1\r\n\r\n### Link to Sentry event\r\n\r\n_No response_\r\n\r\n### SDK Setup\r\n\r\nN/A\r\n\r\n### Steps to Reproduce\r\n\r\n1. Run an app with Sentry and mongodb\r\n2. Make a mongodb call with a promise (Not using callbacks)\r\n\r\n### Expected Result\r\n\r\nTraces appear in the instrumentation for the mongodb call (This worked on Sentry \u003c v8.0)\r\n\r\n### Actual Result\r\n\r\nTraces don't appear in the instrumentation\r\n\r\n\r\nI was asked to open this as a separate issue here: https://github.com/getsentry/sentry-javascript/issues/11499#issuecomment-2122007761\r\n\r\nIt's an issue in open telemetry which is being tracked here: https://github.com/open-telemetry/opentelemetry-js-contrib/issues/2218","author":{"url":"https://github.com/richardsimko","@type":"Person","name":"richardsimko"},"datePublished":"2024-05-23T08:19:55Z","url":"https://github.com/getsentry/sentry-javascript/issues/12181"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:0c6e33e4-4801-df0a-d261-bda552209e33 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B914:1B5E62:4BACAF:6A0F7F:6B044489 |
| html-safe-nonce | ad9991f2b7251acdf71f298adb9e4eaaf30a2735b2bd9c85ff84beade9ae7570 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOTE0OjFCNUU2Mjo0QkFDQUY6NkEwRjdGOjZCMDQ0NDg5IiwidmlzaXRvcl9pZCI6IjkxMDM4ODU2NjE5Mjg0NDA5NjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bbc0d243165004ddf2b4fcddbbe0a8d727808380e7b5ffe53c57290631524d68 |
| hovercard-subject-tag | issue:2312271875 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/12181/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c436d73cb8a28f4361cadf8c64937bc8312e31009f9f16dc8e31e864b2390851/getsentry/sentry-javascript/issues/12181 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c436d73cb8a28f4361cadf8c64937bc8312e31009f9f16dc8e31e864b2390851/getsentry/sentry-javascript/issues/12181 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | richardsimko |
| hostname | github.com |
| expected-hostname | github.com |
| None | d4495c3631faba668036f176d1f5946901c5172efd73a6edb984029e7d4f8e46 |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 9ac4337fb7c6a5846cdfdb1a04f154d3c33ebc77 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width