Title: Tracing without Performance · Issue #8352 · getsentry/sentry-javascript · GitHub
Open Graph Title: Tracing without Performance · Issue #8352 · getsentry/sentry-javascript
X Title: Tracing without Performance · Issue #8352 · getsentry/sentry-javascript
Description: Problem Statement It should be possible that tracing information is propagated from/to incoming/outgoing HTTP requests even if performance is disabled and thus no transactions/spans are available. Solution Brainstorm Requirements: All er...
Open Graph Description: Problem Statement It should be possible that tracing information is propagated from/to incoming/outgoing HTTP requests even if performance is disabled and thus no transactions/spans are available. ...
X Description: Problem Statement It should be possible that tracing information is propagated from/to incoming/outgoing HTTP requests even if performance is disabled and thus no transactions/spans are available. ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8352
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Tracing without Performance","articleBody":"### Problem Statement\r\n\r\nIt should be possible that tracing information is propagated from/to incoming/outgoing HTTP requests even if performance is disabled and thus no transactions/spans are available.\r\n\r\n### Solution Brainstorm\r\n\r\nRequirements:\r\n\r\n1. All **error**, **transaction** and **check-in** events sent to Sentry always contain a Dynamic Sampling Context (trace) envelope header item.\r\n2. All **error, transaction** and **check-in** events sent to Sentry always contain [a `trace` context](https://develop.sentry.dev/sdk/event-payloads/contexts/#trace-context).\r\n3. All outgoing **HTTP requests** always contain a `sentry-trace` and `baggage` header if the destination is allow-listed in [[tracePropagationTargets](https://develop.sentry.dev/sdk/performance/#tracepropagationtargets)](https://develop.sentry.dev/sdk/performance/#tracepropagationtargets).\r\n\r\n```[tasklist]\r\n### Part 1: Standardize `tracePropagationTargets`\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8395\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8399\r\n- [ ] https://github.com/getsentry/sentry-docs/pull/7267\r\n- [x] Deprecate `BrowserTracing` `tracePropogationTargets` in favour of top level option\r\n```\r\n\r\n```[tasklist]\r\n### Part 2: Setting up PropagationContext\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8421\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8422\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8426\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8427\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8428\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8430\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8429\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8425\r\n- [x] ~Make sure we support `sentry-trace` when it is an array~ [WON'T DO]\r\n```\r\n\r\n```[tasklist]\r\n### Part 3: Tracing without Performance\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8434\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8449\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8450\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8458\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8503\r\n- [x] Add DSC trace header to all outgoing envelopes\r\n- [x] ~[OPTIONAL] Update transaction creation to use `PropagationContext`~ [WON'T DO]\r\n- [ ] https://github.com/getsentry/sentry-javascript/issues/8520\r\n```\r\n\r\n```[tasklist]\r\n### Part 5: Final touches\r\n- [x] Run e2e test to show it works (replay, crons, errors) - head SDK + tail SDK\r\n- [ ] https://github.com/getsentry/sentry-docs/pull/7421\r\n- [ ] https://github.com/getsentry/sentry-javascript/pull/8517\r\n- [ ] Write down key changes needed for React Native/Electron adopting Tracing without Performance\r\n```","author":{"url":"https://github.com/stephanie-anderson","@type":"Person","name":"stephanie-anderson"},"datePublished":"2023-06-19T09:57:10Z","url":"https://github.com/getsentry/sentry-javascript/issues/8352"}
| 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:567a3174-7b76-2b5a-2fee-1a1bef3c9ea8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B76C:1D3CBE:3DC9AC:530A5D:6B04382B |
| html-safe-nonce | cd47551ea5b2aab6704ec6af1878927cd4694bdef996e54422c05ecc7e32b270 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzZDOjFEM0NCRTozREM5QUM6NTMwQTVEOjZCMDQzODJCIiwidmlzaXRvcl9pZCI6IjUxMDMwMTI5ODczNDY4OTI4NDMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2b6a6df27cf0afda2bee2d7c24f3cbb84b8469872f7653d65130a217809eb1fc |
| hovercard-subject-tag | issue:1763179078 |
| 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/8352/issue_layout |
| twitter:image | https://opengraph.githubassets.com/909ea2c4551e71347ba6e68c1d035a962347a1e17f14403f65968d0d82f76920/getsentry/sentry-javascript/issues/8352 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/909ea2c4551e71347ba6e68c1d035a962347a1e17f14403f65968d0d82f76920/getsentry/sentry-javascript/issues/8352 |
| og:image:alt | Problem Statement It should be possible that tracing information is propagated from/to incoming/outgoing HTTP requests even if performance is disabled and thus no transactions/spans are available. ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | stephanie-anderson |
| 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