Title: Only create Cloudflare storage and D1 db spans when there is a parent span · Issue #25804 · getsentry/sentry-javascript · GitHub
Open Graph Title: Only create Cloudflare storage and D1 db spans when there is a parent span · Issue #25804 · getsentry/sentry-javascript
X Title: Only create Cloudflare storage and D1 db spans when there is a parent span · Issue #25804 · getsentry/sentry-javascript
Description: The Cloudflare D1, KV, Durable Object storage and SqlStorage instrumentations create db spans when there is no active span. Each of these spans becomes its own root span and has no context. Pass onlyIfParent: true to the startSpan calls ...
Open Graph Description: The Cloudflare D1, KV, Durable Object storage and SqlStorage instrumentations create db spans when there is no active span. Each of these spans becomes its own root span and has no context. Pass on...
X Description: The Cloudflare D1, KV, Durable Object storage and SqlStorage instrumentations create db spans when there is no active span. Each of these spans becomes its own root span and has no context. Pass on...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/25804
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Only create Cloudflare storage and D1 db spans when there is a parent span","articleBody":"The Cloudflare D1, KV, Durable Object storage and SqlStorage instrumentations create db spans when there is no active span. Each of these spans becomes its own root span and has no context.\n\nPass `onlyIfParent: true` to the `startSpan` calls in:\n- `packages/cloudflare/src/instrumentations/worker/instrumentD1.ts`\n- `packages/cloudflare/src/instrumentations/worker/instrumentKV.ts`\n- `packages/cloudflare/src/instrumentations/instrumentDurableObjectStorage.ts`\n- `packages/cloudflare/src/instrumentations/instrumentDurableObjectSyncKvStorage.ts`\n- `packages/cloudflare/src/instrumentations/instrumentSqlStorage.ts`\n\nAdd a test that checks that an operation without an active span creates no span.\n","author":{"url":"https://github.com/andreiborza","@type":"Person","name":"andreiborza"},"datePublished":"2026-10-28T10:46:28Z","url":"https://github.com/getsentry/sentry-javascript/issues/25804"}
| 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:40338c43-1820-639b-f98b-c9ca87985df7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9352:25A901:690F93:8E6A24:6B04429C |
| html-safe-nonce | c19e58f9d31aad42a890076027f5b9f77858aed0b8f64f0af21e79253100df85 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzUyOjI1QTkwMTo2OTBGOTM6OEU2QTI0OjZCMDQ0MjlDIiwidmlzaXRvcl9pZCI6IjQ0NTk0NTkyMDY1ODc4OTIzODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2a1433cec32c545d47127c20a7246a08c96c98d9142a56babe647f245587d045 |
| hovercard-subject-tag | issue:6077378166 |
| 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/25804/issue_layout |
| twitter:image | https://opengraph.githubassets.com/76c9cb4621c8fddb156c77377af45c3fe056948b3b59e9b66405ecbd1105deeb/getsentry/sentry-javascript/issues/25804 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/76c9cb4621c8fddb156c77377af45c3fe056948b3b59e9b66405ecbd1105deeb/getsentry/sentry-javascript/issues/25804 |
| og:image:alt | The Cloudflare D1, KV, Durable Object storage and SqlStorage instrumentations create db spans when there is no active span. Each of these spans becomes its own root span and has no context. Pass on... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andreiborza |
| 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