Title: [Baggage] Do not propagate incoming 3rd party baggage + Cleanup · Issue #5297 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Baggage] Do not propagate incoming 3rd party baggage + Cleanup · Issue #5297 · getsentry/sentry-javascript
X Title: [Baggage] Do not propagate incoming 3rd party baggage + Cleanup · Issue #5297 · getsentry/sentry-javascript
Description: As discussed in our planning meeting on June 20, we will not continue to propagate incoming 3rd party baggage in the outgoing requests we instrument. Instead, we will: On incoming requests: Only store sentry- values from the baggage head...
Open Graph Description: As discussed in our planning meeting on June 20, we will not continue to propagate incoming 3rd party baggage in the outgoing requests we instrument. Instead, we will: On incoming requests: Only st...
X Description: As discussed in our planning meeting on June 20, we will not continue to propagate incoming 3rd party baggage in the outgoing requests we instrument. Instead, we will: On incoming requests: Only st...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5297
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Baggage] Do not propagate incoming 3rd party baggage + Cleanup","articleBody":"As discussed in our planning meeting on June 20, we will not continue to propagate incoming 3rd party baggage in the outgoing requests we instrument. Instead, we will:\r\n\r\nOn incoming requests:\r\n* Only store `sentry-` values from the `baggage` header (if there is one) on the transaction\r\n\r\nOn outgoing requests:\r\n* Append our `sentry-` values to an already existing `baggage` header\r\n* Or add a `baggage` header to outgoing requests if there is no header yet\r\n\r\nThe reason for this change is that it is not our responsibility to do the job of another vendor. In fact, if we continue to propagate 3rd party baggage, we might even propagate something that our users do not want to be propagated (e.g. which is why they would e.g. not install that verndor's SDK in the service where a Sentry SDK is). \r\n\r\nWe will of course continue to propagate baggage that was already added by another SDK before us in the outgoing request (and, as outlined above, just append our values to that header). In return, we can only expect the other vendors' SDKs to follow the W3C spec and do the same.\r\n\r\nThis is a good opportunity to review our Baggage API and potentially cut down a few bytes of bundle size for logic and functions that are not needed anymore after this change. One mandatory cleanup task:\r\n\r\n* [x] move `getBaggage()` method from span to transaction (see #5299)","author":{"url":"https://github.com/Lms24","@type":"Person","name":"Lms24"},"datePublished":"2022-06-23T09:44:48Z","url":"https://github.com/getsentry/sentry-javascript/issues/5297"}
| 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:1a6a3512-11c6-234b-f8a8-654a080816ec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BB80:228EA3:420749:5D79DE:6B047073 |
| html-safe-nonce | 996f2e5812de4be30ea597e3404103ff2381bfdf76bd261b4b8917825b05e92d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjgwOjIyOEVBMzo0MjA3NDk6NUQ3OURFOjZCMDQ3MDczIiwidmlzaXRvcl9pZCI6Ijg4MDA1NTcyMDg3MTU5NDgxNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 80b317b794297323d307413e0db0a3add03022993c8e87c6cb8758fc6d61da11 |
| hovercard-subject-tag | issue:1282120788 |
| 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/5297/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e59be0e268b9158cac6637e5b8a82f651fd47046dd37c8b72074af88e58dfa64/getsentry/sentry-javascript/issues/5297 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e59be0e268b9158cac6637e5b8a82f651fd47046dd37c8b72074af88e58dfa64/getsentry/sentry-javascript/issues/5297 |
| og:image:alt | As discussed in our planning meeting on June 20, we will not continue to propagate incoming 3rd party baggage in the outgoing requests we instrument. Instead, we will: On incoming requests: Only st... |
| 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 | ae8802492f12d3ba4f6b0d814054e617a2a5616b6327bf8555c10cd5b0dc2a6f |
| 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 | cfb5f24c6e01d85f70804652a5107e5cac03a161 |
| 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