Title: Replay: Events tagged with replay_id before sampling decision · Issue #8055 · getsentry/sentry-javascript · GitHub
Open Graph Title: Replay: Events tagged with replay_id before sampling decision · Issue #8055 · getsentry/sentry-javascript
X Title: Replay: Events tagged with replay_id before sampling decision · Issue #8055 · getsentry/sentry-javascript
Description: @billyvg spotted that: For on error sampling, we moved sampling decision from the beginning of the process, to right before we flush the replay, but some of the tagging logic was not updated to reflect this. When we get an error (for on ...
Open Graph Description: @billyvg spotted that: For on error sampling, we moved sampling decision from the beginning of the process, to right before we flush the replay, but some of the tagging logic was not updated to ref...
X Description: @billyvg spotted that: For on error sampling, we moved sampling decision from the beginning of the process, to right before we flush the replay, but some of the tagging logic was not updated to ref...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/8055
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replay: Events tagged with replay_id before sampling decision ","articleBody":"@billyvg spotted that:\r\n\r\n> For on error sampling, we moved sampling decision from the beginning of the process, to right before we flush the replay, but some of the tagging logic was not updated to reflect this. When we get an error (for on error sampling), we:\r\n>\r\n> * always tag the error event with the replay id\r\n> * send event\r\n> * add error id to replay context\r\n> * **SAMPLE ROLL**\r\n> * flush\r\n>\r\n> So if it's unsampled, we will have incorrectly tagged the event and replay\r\n\r\n","author":{"url":"https://github.com/bruno-garcia","@type":"Person","name":"bruno-garcia"},"datePublished":"2023-05-05T18:23:02Z","url":"https://github.com/getsentry/sentry-javascript/issues/8055"}
| 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:ef51b5f2-fd81-b4c5-0251-a8c5b02851cf |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8F48:A1FB3:236A408:2F3581A:6B05891A |
| html-safe-nonce | 8c90ff113c6b27876195aeedb24f4ddab6075c29a21cd3be92f361e47ca7ff4a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjQ4OkExRkIzOjIzNkE0MDg6MkYzNTgxQTo2QjA1ODkxQSIsInZpc2l0b3JfaWQiOiI0NDk1NzcyNTk2NzI5OTA3NDgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | dbfda4cf5bf03206a77ff3bccebd7ab0178f47e02dfa33a2009b44ade601af6a |
| hovercard-subject-tag | issue:1698013186 |
| 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/8055/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7b5166ac347cc920aac7207836df9fb99b0470541fee2f7a75d4a63b05984ddb/getsentry/sentry-javascript/issues/8055 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7b5166ac347cc920aac7207836df9fb99b0470541fee2f7a75d4a63b05984ddb/getsentry/sentry-javascript/issues/8055 |
| og:image:alt | @billyvg spotted that: For on error sampling, we moved sampling decision from the beginning of the process, to right before we flush the replay, but some of the tagging logic was not updated to ref... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bruno-garcia |
| hostname | github.com |
| expected-hostname | github.com |
| None | 808d57ad26095794a9e3681aed736bd67e8e82b1f5650d6c1e68f99382f8030c |
| 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 | 62e32c52ec1c22b5bb5c18be1c0c471472c89540 |
| 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