Title: Add compression mode to replay event · Issue #7140 · getsentry/sentry-javascript · GitHub
Open Graph Title: Add compression mode to replay event · Issue #7140 · getsentry/sentry-javascript
X Title: Add compression mode to replay event · Issue #7140 · getsentry/sentry-javascript
Description: It would be good to know how compression works etc. for replay events. There are a few cases: Compression is turned off via useCompression: false Compression is enabled and used Compression is enabled but we fall back to uncompressed mod...
Open Graph Description: It would be good to know how compression works etc. for replay events. There are a few cases: Compression is turned off via useCompression: false Compression is enabled and used Compression is enab...
X Description: It would be good to know how compression works etc. for replay events. There are a few cases: Compression is turned off via useCompression: false Compression is enabled and used Compression is enab...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/7140
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add compression mode to replay event","articleBody":"It would be good to know how compression works etc. for replay events. There are a few cases:\r\n\r\n* Compression is turned off via `useCompression: false`\r\n* Compression is enabled and used\r\n* Compression is enabled but we fall back to uncompressed mode due to e.g. worker loading issues\r\n\r\nI propose to add a field `compressionMode` to the replay event payload:\r\n\r\n```ts\r\ntype CompressionMode = 'disabled' | 'compressed' | 'fallback';\r\n\r\ntype ReplayEvent {\r\n // ... existing fields\r\n compressionMode: CompressionMode\r\n}\r\n```\r\n\r\nThis way, we can later run analysis how frequently compression fails, which can inform decisions about the compression strategy etc.\r\n\r\nWe can also eventually use this information to give users tips for improving their replay setup - if we detect a project has only events with fallback compression mode, we can prompt the user to either fix their CSP settings or disable compression, as an example.","author":{"url":"https://github.com/mydea","@type":"Person","name":"mydea"},"datePublished":"2023-02-10T13:33:50Z","url":"https://github.com/getsentry/sentry-javascript/issues/7140"}
| 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:f4122918-144e-32d8-74f1-320d39dcab8c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E4FE:4593C:430DC3:5C4419:6B058922 |
| html-safe-nonce | 766e14e0465f27b4d00071242a6880ec5af6b01ae8e98fcc32a0e34f145c339d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNEZFOjQ1OTNDOjQzMERDMzo1QzQ0MTk6NkIwNTg5MjIiLCJ2aXNpdG9yX2lkIjoiNDMyMTgxOTM2ODkwNTYwNzQ1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a9659b1ad427f473e707f29f59db095f271f5a1d422e401566d06dce0e3a3a9d |
| hovercard-subject-tag | issue:1579694131 |
| 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/7140/issue_layout |
| twitter:image | https://opengraph.githubassets.com/27e40458a9994dea6bb80a50865ce59024909b1490d790720bbf36dd8cf427b1/getsentry/sentry-javascript/issues/7140 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/27e40458a9994dea6bb80a50865ce59024909b1490d790720bbf36dd8cf427b1/getsentry/sentry-javascript/issues/7140 |
| og:image:alt | It would be good to know how compression works etc. for replay events. There are a few cases: Compression is turned off via useCompression: false Compression is enabled and used Compression is enab... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mydea |
| 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