Title: [Replay] Replay not sending on errors · Issue #6466 · getsentry/sentry-javascript · GitHub
Open Graph Title: [Replay] Replay not sending on errors · Issue #6466 · getsentry/sentry-javascript
X Title: [Replay] Replay not sending on errors · Issue #6466 · getsentry/sentry-javascript
Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using the latest SDK release https://github.com/...
Open Graph Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
X Description: Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6466
X: @github
Domain: github.com
IPv4 address: 140.82.112.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Replay] Replay not sending on errors","articleBody":"### Is there an existing issue for this?\n\n- [X] I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues\n- [X] I have reviewed the documentation https://docs.sentry.io/\n- [X] I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases\n\n### How do you use Sentry?\n\nSelf-hosted/on-premise\n\n### Which package are you using?\n\n@sentry/browser\n\n### SDK Version\n\n7.24.1\n\n### Framework Version\n\n_No response_\n\n### Link to Sentry event\n\n_No response_\n\n### Steps to Reproduce\n\n```js\r\n\u003cscript src=\"https://browser.sentry-cdn.com/7.24.1/bundle.tracing.min.js\" integrity=\"sha384-xKLOnjJfdV4JM9nuAF86HQTBBQXJRhRYRqSR21KCAENOj3ldIBc10a4oq8wWZ3/R\" crossorigin=\"anonymous\">\u003c/script>\r\n\u003cscript src=\"https://browser.sentry-cdn.com/7.24.1/captureconsole.min.js\" integrity=\"sha384-yK9cwgbRIq3vYQnne4GeTRvPKHLSFh3Ak8ZD9XU992sLYom9dgYy34D43rFvjpRq\" crossorigin=\"anonymous\">\u003c/script>\r\n\u003cscript src=\"https://browser.sentry-cdn.com/7.24.1/replay.min.js\" integrity=\"sha384-ifYtT/moOdbKa0RUX6esCLi2AU6bNBHWE13ESYZ4Q2j/RFVx1iuIcYadvhEbGMjF\" crossorigin=\"anonymous\">\u003c/script>\r\n\u003cscript>\r\n Sentry.init({\r\n dsn: \"DSN\",\r\n environment: \"HOSTNAME\",\r\n integrations: [\r\n new Sentry.BrowserTracing(),\r\n new Sentry.Integrations.Replay({\r\n maskAllInputs: false,\r\n }),\r\n new Sentry.Integrations.CaptureConsole(\r\n {\r\n levels: ['error']\r\n })\r\n ],\r\n sampleRate: 1,\r\n replaysOnErrorSampleRate: 1.0,\r\n replaysSessionSampleRate: 1.0,\r\n tracesSampleRate: 0.25,\r\n });\r\n\u003c/script>\r\n```\r\n\r\nThis is not sending a replay with the error. I know it's not in the UI yet, or at least I'm assuming it isn't. Just looking at the network tab in firefox.\n\n### Expected Result\n\nIt would send another request to sentry with the replay when an error occurs.\n\n### Actual Result\n\nNo replay data is sent when an error occurs. A replay ID is attached to the error/event. But nothing is sent for the replay data. If you set all the sampling to `1` it will send a replay for the transaction at the start but if you trigger an error it won't send the replay. ","author":{"url":"https://github.com/davidflypei","@type":"Person","name":"davidflypei"},"datePublished":"2022-12-07T19:55:17Z","url":"https://github.com/getsentry/sentry-javascript/issues/6466"}
| 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:2ce11b91-dcca-6db2-73b1-a4baa4e2309c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C8D8:250A6C:33F8C:43852:6B042F80 |
| html-safe-nonce | ae5a6ea490e1266aa38bb626a4df87bdc1a4b9d5051b6058266ed8df302c9ef7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEQ4OjI1MEE2QzozM0Y4Qzo0Mzg1Mjo2QjA0MkY4MCIsInZpc2l0b3JfaWQiOiI3MTUwNDg4NzM0MTc2MzkxMDQwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 64dc5fbe4866e7709805e36c7cec4441dd9d0e6722879c4cd3d707cfe2ee3141 |
| hovercard-subject-tag | issue:1482722100 |
| 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/6466/issue_layout |
| twitter:image | https://opengraph.githubassets.com/de5ce405a5b955cd54af5f73f0c269372d0a063123b41584ad4455d827772452/getsentry/sentry-javascript/issues/6466 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/de5ce405a5b955cd54af5f73f0c269372d0a063123b41584ad4455d827772452/getsentry/sentry-javascript/issues/6466 |
| og:image:alt | Is there an existing issue for this? I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues I have reviewed the documentation https://docs.sentry.io/ I am using th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | davidflypei |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| 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 | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| 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