Title: Reset PropagationContext on navigation · Issue #11377 · getsentry/sentry-javascript · GitHub
Open Graph Title: Reset PropagationContext on navigation · Issue #11377 · getsentry/sentry-javascript
X Title: Reset PropagationContext on navigation · Issue #11377 · getsentry/sentry-javascript
Description: Problem Statement Currently, the current and isolation scope's propagationContext stays the same across multiple page navigations. This leads to a couple of unintended problems: One trace is carried on infinitely as longs as a user is us...
Open Graph Description: Problem Statement Currently, the current and isolation scope's propagationContext stays the same across multiple page navigations. This leads to a couple of unintended problems: One trace is carrie...
X Description: Problem Statement Currently, the current and isolation scope's propagationContext stays the same across multiple page navigations. This leads to a couple of unintended problems: One trace is ca...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/11377
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Reset PropagationContext on navigation","articleBody":"### Problem Statement\n\nCurrently, the current and isolation scope's `propagationContext` stays the same across multiple page navigations. This leads to a couple of unintended problems:\r\n\r\n- One trace is carried on infinitely as longs as a user is using an app without closing the tab or reloading it\r\n- This leads to very long, convoluted traces where transactions are collected that have nothing (little) to do with each other in practice.\r\n- The same goes for outgoing requests when performance monitoring is not active (\"tracing w/o performance\"). \n\n### Solution Brainstorm\n\nIn an effort to alleviate these symptoms and to reduce the logical duration of one trace, we'll reset the propagationContext whenever a navigation occurs. This won't solve all long and convoluted traces but at least will cut them down significantly for applications where some kind of client-side routing is performed. Apps that use no routing at all will still \"suffer\" from large traces but for now, we accept that.\r\n\r\nPropagation context resetting will happen roughly wherever we update the scope's transactionName (see #10846).","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2024-04-02T14:44:23Z","url":"https://github.com/getsentry/sentry-javascript/issues/11377"}
| 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:e28d6792-6d05-02e2-f3f4-62702c363e3d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB58:2B774B:3D2924:56755C:6B040EEB |
| html-safe-nonce | 9469d34d2bb94999ded04285263a9ffdbbb3d3e44a77104c0c62fb0c804e48b6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjU4OjJCNzc0QjozRDI5MjQ6NTY3NTVDOjZCMDQwRUVCIiwidmlzaXRvcl9pZCI6IjQ2NDk3NTg4Njk0ODczNTc2NzUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 7b9f71160c3d78c23ba32d690cf108914b10e4e8b9166bbd257ac0f95e7e2693 |
| hovercard-subject-tag | issue:2220713023 |
| 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/11377/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7c2be3b37d3e3ff8f619445bdf7faad5f09034857d59c7c00cd199514339f405/getsentry/sentry-javascript/issues/11377 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7c2be3b37d3e3ff8f619445bdf7faad5f09034857d59c7c00cd199514339f405/getsentry/sentry-javascript/issues/11377 |
| og:image:alt | Problem Statement Currently, the current and isolation scope's propagationContext stays the same across multiple page navigations. This leads to a couple of unintended problems: One trace is carrie... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lms24 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | canary-1 |
| 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