Title: DSC Mutability and Measurements · Issue #5679 · getsentry/sentry-javascript · GitHub
Open Graph Title: DSC Mutability and Measurements · Issue #5679 · getsentry/sentry-javascript
X Title: DSC Mutability and Measurements · Issue #5679 · getsentry/sentry-javascript
Description: Problem statement: Mis-match between transaction name set in DSC at beginning of trace and in transaction payloads later in trace. This is occurring at a high enough rate to indicate we cannot reliably sample based on trace. Proposal: Ad...
Open Graph Description: Problem statement: Mis-match between transaction name set in DSC at beginning of trace and in transaction payloads later in trace. This is occurring at a high enough rate to indicate we cannot reli...
X Description: Problem statement: Mis-match between transaction name set in DSC at beginning of trace and in transaction payloads later in trace. This is occurring at a high enough rate to indicate we cannot reli...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5679
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"DSC Mutability and Measurements","articleBody":"### Problem statement:\nMis-match between transaction name set in DSC at beginning of trace and in transaction payloads later in trace. This is occurring at a high enough rate to indicate we cannot reliably sample based on trace. \n\n### Proposal:\nAdjust the mutability of the DSC in an attempt to get a more accurate transaction name in the DSC of the overall trace, for sampling decisions to be more accurately reflect what users configure on product side.\n\nTo that end we would also like to gather metrics to further drive what types of changes, how often, and when they occur in the wild, so we can better determine when DSC should be \"frozen\"\n\n### Tasks:\n\n#### Todo\n\n#### In Progress\n\n#### Done\n\n- [x] Experiment with metadata spec @AbhiPrasad https://github.com/getsentry/sentry-javascript/pull/5709\n- [x] Update transaction to record metadata around name changes https://github.com/getsentry/sentry-javascript/pull/5714\n- [x] Only record transaction name changes if data is different https://github.com/getsentry/sentry-javascript/pull/5728 \n- [x] Track name changes in transaction class https://github.com/getsentry/sentry-javascript/pull/5723\n- [x] Update tracing sdk to record propagations https://github.com/getsentry/sentry-javascript/pull/5719\n- [x] Update node sdk to record propagations https://github.com/getsentry/sentry-javascript/pull/5720\n- [x] Update core event processing to record transaction name changes https://github.com/getsentry/sentry-javascript/pull/5722\n- [x] Update Relay to record new metadata measurements @jan-auer https://github.com/getsentry/relay/pull/1466\n- [x] make DSC mutable (unfreeze) only in JS (@lforst) https://github.com/getsentry/sentry-javascript/pull/5710 \n- [x] Update `TransactionNameChange` interface to track prev source as per Relay changes https://github.com/getsentry/sentry-javascript/pull/5733\n\n-----------------\n\nDiagram for visual learners (courtesy of @jan-auer):\n\n\n","author":{"url":"https://github.com/AbhiPrasad","@type":"Person","name":"AbhiPrasad"},"datePublished":"2022-09-01T18:07:10Z","url":"https://github.com/getsentry/sentry-javascript/issues/5679"}
| 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:481ca98a-3791-1aaa-9a5d-7bd243e8c28d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8682:324481:212F32:2EA762:6B043891 |
| html-safe-nonce | f909171b691cdee8cbeb3523daa80ebfdfb6ba723d3bc26cd0abba6377906243 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjgyOjMyNDQ4MToyMTJGMzI6MkVBNzYyOjZCMDQzODkxIiwidmlzaXRvcl9pZCI6IjgxMTAxMzQ2Mjc0MDQxMDE3NzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5402bc9e157c19791298c145acd1ac513c809f9e1c62e02bb673daaa0e8d43c8 |
| hovercard-subject-tag | issue:1359221264 |
| 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/5679/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec71ba237d543a811e6e9e8f208e4280e0965ba04881124c76256be2ad89f42b/getsentry/sentry-javascript/issues/5679 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec71ba237d543a811e6e9e8f208e4280e0965ba04881124c76256be2ad89f42b/getsentry/sentry-javascript/issues/5679 |
| og:image:alt | Problem statement: Mis-match between transaction name set in DSC at beginning of trace and in transaction payloads later in trace. This is occurring at a high enough rate to indicate we cannot reli... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | AbhiPrasad |
| 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