Title: [mongodb] Filter out spans from `findOne`'s internal calls to `find` · Issue #5278 · getsentry/sentry-javascript · GitHub
Open Graph Title: [mongodb] Filter out spans from `findOne`'s internal calls to `find` · Issue #5278 · getsentry/sentry-javascript
X Title: [mongodb] Filter out spans from `findOne`'s internal calls to `find` · Issue #5278 · getsentry/sentry-javascript
Description: We instrument both the find and findOne methods in our mongodb integration. Because findOne internally calls find, this means that users end up with span trees which look like this: even though they've only made calls to findOne, not fin...
Open Graph Description: We instrument both the find and findOne methods in our mongodb integration. Because findOne internally calls find, this means that users end up with span trees which look like this: even though the...
X Description: We instrument both the find and findOne methods in our mongodb integration. Because findOne internally calls find, this means that users end up with span trees which look like this: even though the...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5278
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[mongodb] Filter out spans from `findOne`'s internal calls to `find`","articleBody":"We instrument both the `find` and `findOne` methods in our mongodb integration. Because [`findOne` internally calls `find`](https://github.com/mongodb/node-mongodb-native/blob/6cae4b4f9b37ca760377b3ef08421d12d88d4617/src/collection.ts#L739), this means that users end up with span trees which look like this:\r\n\r\n\r\n\r\neven though they've only made calls to `findOne`, not `find`.\r\n\r\nIf possible, we should prevent those `find` spans from showing up.","author":{"url":"https://github.com/lobsterkatie","@type":"Person","name":"lobsterkatie"},"datePublished":"2022-06-17T17:56:55Z","url":"https://github.com/getsentry/sentry-javascript/issues/5278"}
| 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:7182e5ff-0425-ab20-5639-31f19716ec79 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D21C:1FCE:3358D9:47C836:6B043934 |
| html-safe-nonce | 624b5de135d63178ddfe033dac246dcccfb7895f9632080c281024ae2d04094d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMjFDOjFGQ0U6MzM1OEQ5OjQ3QzgzNjo2QjA0MzkzNCIsInZpc2l0b3JfaWQiOiI0NTQwNzczNTkzMzE1MDMxMzQ5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 67f8d00a400297e2692b9dab22ebf11e91c2fd1f5c0158710fe3056fdcff9b5f |
| hovercard-subject-tag | issue:1275319649 |
| 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/5278/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5b346d4dd1cc864e0abf8906a07c0ea7e0027f444d26b456f3a7cc891273ad31/getsentry/sentry-javascript/issues/5278 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5b346d4dd1cc864e0abf8906a07c0ea7e0027f444d26b456f3a7cc891273ad31/getsentry/sentry-javascript/issues/5278 |
| og:image:alt | We instrument both the find and findOne methods in our mongodb integration. Because findOne internally calls find, this means that users end up with span trees which look like this: even though the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lobsterkatie |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9185ccfefd80c1ff2d9ddcdb0cd2becf46b5a1efbbf30741a895e4bb8de25e64 |
| 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 | 06dc448a76fe4751ac1db26524aefa3aa3e889a8 |
| 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