Title: Implement `orgId` and `strictTraceContinuation` init options · Issue #15644 · getsentry/sentry-javascript · GitHub
Open Graph Title: Implement `orgId` and `strictTraceContinuation` init options · Issue #15644 · getsentry/sentry-javascript
X Title: Implement `orgId` and `strictTraceContinuation` init options · Issue #15644 · getsentry/sentry-javascript
Description: Problem Statement When I receive requests to my Node server, they will occasionally contain the sentry-trace and baggage headers. Sentry's automatic instrumentation will attach the provided span ID as a parent to my server traces. Subseq...
Open Graph Description: Problem Statement When I receive requests to my Node server, they will occasionally contain the sentry-trace and baggage headers. Sentry's automatic instrumentation will attach the provided span ID...
X Description: Problem Statement When I receive requests to my Node server, they will occasionally contain the sentry-trace and baggage headers. Sentry's automatic instrumentation will attach the provided spa...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/15644
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Implement `orgId` and `strictTraceContinuation` init options","articleBody":"### Problem Statement\n\nWhen I receive requests to my Node server, they will occasionally contain the `sentry-trace` and `baggage` headers. Sentry's automatic instrumentation will attach the provided span ID as a parent to my server traces. Subsequently, Sentry's default sampling function will use the existence of a parent span to enable sampling for the request.\n\nThe result is that external parties can manipulate my Sentry trace sampling. It impacts performance when profiling is enabled and biases trace sampling towards specific endpoints.\n\nMy workaround is to ignore the the parent span when sampling via `tracesSampler`, but this means I cannot easily enable distributed tracing.\n\n### Solution Brainstorm\n\nIf [`strictTraceContinuation`](https://develop.sentry.dev/sdk/telemetry/traces/#stricttracecontinuation) is implemented, it would let me to ignore parent spans provided by my API users.","author":{"url":"https://github.com/alaycock","@type":"Person","name":"alaycock"},"datePublished":"2025-03-13T18:45:33Z","url":"https://github.com/getsentry/sentry-javascript/issues/15644"}
| 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:818c85ea-dd63-f187-cdcc-caa0865673db |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA7C:197D47:3300EE:43102D:6B0763C7 |
| html-safe-nonce | 731f3ec13ef55c1e55ee3b9b394795db07f51db2145d2a6ca84c78a3c53fff02 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTdDOjE5N0Q0NzozMzAwRUU6NDMxMDJEOjZCMDc2M0M3IiwidmlzaXRvcl9pZCI6IjU3NjExMTI5NjMzNDQxOTY1NTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 131daf2cbaed94f69d0a0bedb886f56984761a516afad22cf56015a96257a2d1 |
| hovercard-subject-tag | issue:2918109088 |
| 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/15644/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9cdc4ca263da74ade96a3f824b83daa6f0e8b505365f308d2b61f2c2f5f0af0b/getsentry/sentry-javascript/issues/15644 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9cdc4ca263da74ade96a3f824b83daa6f0e8b505365f308d2b61f2c2f5f0af0b/getsentry/sentry-javascript/issues/15644 |
| og:image:alt | Problem Statement When I receive requests to my Node server, they will occasionally contain the sentry-trace and baggage headers. Sentry's automatic instrumentation will attach the provided span ID... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alaycock |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7a557ecc960a3ae6e299fc66b0bc9132072f8860191648e6749fee5d3ff00d82 |
| 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 | bd845eb7947c1ed8c850f7ab415a51339d162de3 |
| 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