Title: Add new client_report category for replay · Issue #6774 · getsentry/sentry-javascript · GitHub
Open Graph Title: Add new client_report category for replay · Issue #6774 · getsentry/sentry-javascript
X Title: Add new client_report category for replay · Issue #6774 · getsentry/sentry-javascript
Description: We want to add two new client report categories to allow us to capture things for replay that are currently not really covered by existing categories: send_error: A more generic type of network_error, which can be used when sending an ev...
Open Graph Description: We want to add two new client report categories to allow us to capture things for replay that are currently not really covered by existing categories: send_error: A more generic type of network_err...
X Description: We want to add two new client report categories to allow us to capture things for replay that are currently not really covered by existing categories: send_error: A more generic type of network_err...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/6774
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add new client_report category for replay","articleBody":"We want to add two new client report categories to allow us to capture things for replay that are currently not really covered by existing categories:\r\n\r\n* `send_error`: A more generic type of `network_error`, which can be used when sending an event failed for different reasons than a network_error, e.g. when receiving a 400 error or when something inside the transport fails.\r\n* `internal_sdk_error`: In replay, there is some internal code that can result in recording being stopped & events being dropped because of this (e.g. the compression worker fails, ...). We want to be able to capture this as well.\r\n\r\n## Initial draft (for reference)\r\n\r\nFor replay, we have some retry logic which will retry _some_ failed events a few times, before fully stopping. This is the case because we depend on segment order, so a single actual fail means the whole replay is stopped. So we decided it is fine to retry up to 3 times with increasing backoff until we stop.\r\n\r\nNote: We do not retry when we hit either a rate limit or an API error - in these cases, we stop immediately (in the case of rate limit, we will re-start once the rate limit is over).\r\n\r\nIn order to know how often we actually fully stop, we would like to use client reports.\r\n\r\nWe propose to add a new category `send_error` which we can use when we exceeded the retry budget: `send_error:replay`. This needs to be synced with backend changes, where the category also needs to be added.\r\n\r\nThis can be used when sending failed for generic reasons (that are not covered by other categories) - for example when hitting a 400 or 500 error, or when sending fails for unspecified reasons (e.g. we throw on send).","author":{"url":"https://github.com/mydea","@type":"Person","name":"mydea"},"datePublished":"2023-01-16T08:02:54Z","url":"https://github.com/getsentry/sentry-javascript/issues/6774"}
| 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:b5452f21-df52-2452-33ac-281b439a1d4e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B546:12A1D2:80F9F:A4174:6B04E86D |
| html-safe-nonce | 5e0b46723ad621fde584475a96889811abe9bcb88ec7b8567cfefc0135cbd6c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNTQ2OjEyQTFEMjo4MEY5RjpBNDE3NDo2QjA0RTg2RCIsInZpc2l0b3JfaWQiOiI3NzY4NDUxNTIzNTMyODc1ODg1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 21263e875d3937e14dbad667c7830cb2166021782aa940ea05239db0d4c72cf4 |
| hovercard-subject-tag | issue:1534466873 |
| 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/6774/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7406fbc438c18351cc1189a81c4fad56017dc5157eb08a277c04698b756ba38c/getsentry/sentry-javascript/issues/6774 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7406fbc438c18351cc1189a81c4fad56017dc5157eb08a277c04698b756ba38c/getsentry/sentry-javascript/issues/6774 |
| og:image:alt | We want to add two new client report categories to allow us to capture things for replay that are currently not really covered by existing categories: send_error: A more generic type of network_err... |
| 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 | f3851aad500d8e8dce736722ddc6fa9596e17d9fce3c53581eba968664c0bc32 |
| 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 | e29c922455fd8137f27e1cfcdf6a1e8b920b1926 |
| 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