Title: Fix "empty" replays due to idle sessions + non-user initiated events · Issue #7352 · getsentry/sentry-javascript · GitHub
Open Graph Title: Fix "empty" replays due to idle sessions + non-user initiated events · Issue #7352 · getsentry/sentry-javascript
X Title: Fix "empty" replays due to idle sessions + non-user initiated events · Issue #7352 · getsentry/sentry-javascript
Description: Problem Currently for sentry.io, we're seeing lots of "empty" replays (no data in breadcrumbs/console/network). One such case where this happens is when users leave a tab open and go idle on a page that uses our relative timing component...
Open Graph Description: Problem Currently for sentry.io, we're seeing lots of "empty" replays (no data in breadcrumbs/console/network). One such case where this happens is when users leave a tab open and go idle on a page...
X Description: Problem Currently for sentry.io, we're seeing lots of "empty" replays (no data in breadcrumbs/console/network). One such case where this happens is when users leave a tab open and go ...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/7352
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Fix \"empty\" replays due to idle sessions + non-user initiated events","articleBody":"## Problem\n\nCurrently for sentry.io, we're seeing lots of \"empty\" replays (no data in breadcrumbs/console/network). One such case where this happens is when users leave a tab open and go idle on a page that uses our relative timing component (i.e. \"5 minutes ago\"). This component is on a timed interval that updates the DOM and thus causes a mutation that causes Replay SDK to record an event and flush. \n\n## Solution\n\n### Lower idle timeout\nIn https://github.com/getsentry/sentry-replay/pull/261, we implemented a timeout to pause recording until a click or navigation happens. This was set at `MAX_SESSION_LIFE` (30 minutes at the time, currently 60 minutes). We could use `SESSION_IDLE_DURATION` (currently: 5 minutes), (which actually just makes more sense now that I write this out). If we've already ended the session due to the 5 minute timeout, then we should wait for an un-idle™™ event to start a new session.\n\n","author":{"url":"https://github.com/billyvg","@type":"Person","name":"billyvg"},"datePublished":"2023-03-06T19:33:08Z","url":"https://github.com/getsentry/sentry-javascript/issues/7352"}
| 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:b5356210-4684-aaf5-cc87-97773089bb1a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8376:3F9CD1:4984E:62D6A:6B04AE33 |
| html-safe-nonce | 8e01df88301b6bc66a98e18d9c9bc0557cb2532a54e14722394fab4cf575d2d0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Mzc2OjNGOUNEMTo0OTg0RTo2MkQ2QTo2QjA0QUUzMyIsInZpc2l0b3JfaWQiOiIzNDczNDU4ODQ0Mjc2MTQxNjE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a233043673d47d55c200632bc55eb8ff95c77a4d29957a458cb06224063b2a51 |
| hovercard-subject-tag | issue:1612080656 |
| 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/7352/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ce135fc0e4311de8d7adee80eaa2bfcd32723e433a2aa0fd7e3fe2245d092c95/getsentry/sentry-javascript/issues/7352 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ce135fc0e4311de8d7adee80eaa2bfcd32723e433a2aa0fd7e3fe2245d092c95/getsentry/sentry-javascript/issues/7352 |
| og:image:alt | Problem Currently for sentry.io, we're seeing lots of "empty" replays (no data in breadcrumbs/console/network). One such case where this happens is when users leave a tab open and go idle on a page... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | billyvg |
| hostname | github.com |
| expected-hostname | github.com |
| None | f1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1 |
| 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 | ffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b |
| 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