René's URL Explorer Experiment


Title: Session Replay gesture batching measures durations with the wall clock · Issue #6523 · getsentry/sentry-java · GitHub

Open Graph Title: Session Replay gesture batching measures durations with the wall clock · Issue #6523 · getsentry/sentry-java

X Title: Session Replay gesture batching measures durations with the wall clock · Issue #6523 · getsentry/sentry-java

Description: Split from #6522. These two pieces measure how long something took, so they can move to a Stopwatch before v9. Check-in durations did the same in #6032. The gesture timestamps (when something happened) stay on the wall clock and are part...

Open Graph Description: Split from #6522. These two pieces measure how long something took, so they can move to a Stopwatch before v9. Check-in durations did the same in #6032. The gesture timestamps (when something happe...

X Description: Split from #6522. These two pieces measure how long something took, so they can move to a Stopwatch before v9. Check-in durations did the same in #6032. The gesture timestamps (when something happe...

Opengraph URL: https://github.com/getsentry/sentry-java/issues/6523

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Session Replay gesture batching measures durations with the wall clock","articleBody":"Split from getsentry/sentry-java#6522. These two pieces measure how long something took, so they can move to a `Stopwatch` before v9. Check-in durations did the same in getsentry/sentry-java#6032. The gesture timestamps (when something happened) stay on the wall clock and are part of getsentry/sentry-java#6522, which waits for v9.\n\n## What reads the wall clock\n\nWhile a finger moves, `ReplayGestureConverter` batches touch positions and sends them as one move event every 500ms. Two things there subtract one wall-clock reading from another:\n\n* **Batch timer.** The batch is sent once `now - touchMoveBaseline` passes 500ms. This only decides when to send, so nothing in the payload changes. It's the sibling of the 50ms move debounce that getsentry/sentry-java#6090 moved to a `Deadline`.\n* `timeOffset`**.** Each position records how long after the batch started it happened, always under about 500ms. It is sent to Sentry, but it's a duration, not a timestamp.\n\n## What goes wrong\n\nIf the clock steps backward during a swipe, `now - touchMoveBaseline` goes negative. The batch isn't sent until the clock catches back up, and if the finger lifts first, the batched positions are dropped. A forward step sends the batch at once, with offsets stretched by the size of the step.\n\n## Not a breaking change\n\nWith no clock step, the values are the same as today. It doesn't touch session counts, the public API or a critical customer metric.\n\n## Done when\n\n* The batch timer and `timeOffset` come from one `Stopwatch`, started when a batch begins, on the `ticker` the converter already takes.\n* Event timestamps (touch start, end and cancel, and the move event's `timestamp`) still use `dateProvider`. Those move in getsentry/sentry-java#6522.\n* Tests cover a backward and a forward clock step during a swipe.\n\n\u003cdetails>\u003csummary>Agent notes\u003c/summary>\n\nVerified on `main` at `5652060246` (2026-11-09).\n\n* `ReplayGestureConverter.kt`: `:39` (`now`), `:54-55` (baseline set, `0L` sentinel), `:63` (`timeOffset`), `:67-68` (batch check against `CAPTURE_MOVE_EVENT_THRESHOLD` = 500), `:76` (`pos.timeOffset -= totalOffset`), `:84` (baseline reset). A nullable `Stopwatch` can replace the `0L` sentinel.\n* Leave alone (getsentry/sentry-java#6522): `:74` (move event `timestamp`), `:105`, `:128`, `:142` (touch timestamps).\n* The `ticker` constructor parameter came in with #6090 and drives the 50ms debounce at `:43`.\n* Keep the `TODO [v9]` at `:16`. `dateProvider` is still needed for the event timestamps.\n* `Stopwatch` (`sentry/src/main/java/io/sentry/time/Stopwatch.java`): `started(MonotonicTicker)`, `elapsed(TimeUnit)`, `elapsedNanos()`.\n* Test gotcha from #6090: in gesture tests, a clock step over \\~500ms crosses `CAPTURE_MOVE_EVENT_THRESHOLD`. Keep steps small when testing the debounce.\n* Precedent for serialized durations on a monotonic clock: check-ins, #5611 (`System.nanoTime()`) then #6032 (`Stopwatch`).\n\n\u003c/details>","author":{"url":"https://github.com/runningcode","@type":"Person","name":"runningcode"},"datePublished":"2026-11-09T16:15:37Z","url":"https://github.com/getsentry/sentry-java/issues/6523"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:f70b1f39-152e-adb3-f59a-3c41a577ff52
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE3FA:2953C9:1105A0E:17D057B:6B044ED9
html-safe-nonce71e3ccacf48cdfa63f0eef034d1def663a9122b9cf682e3203df26f991f6e2f3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFM0ZBOjI5NTNDOToxMTA1QTBFOjE3RDA1N0I6NkIwNDRFRDkiLCJ2aXNpdG9yX2lkIjoiNTM2MTg2NzEwMTQ1Mzk2Mjk2OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2480700e96439ab72edf40f9f8dd3aa55003f8ef37f7f60f156ff1e00330ee07
hovercard-subject-tagissue:6289905638
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-java/6523/issue_layout
twitter:imagehttps://opengraph.githubassets.com/fdbded97f17144d816210bb9dcb42995e478c18ef0d7a1fbed33be2f4df67d33/getsentry/sentry-java/issues/6523
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/fdbded97f17144d816210bb9dcb42995e478c18ef0d7a1fbed33be2f4df67d33/getsentry/sentry-java/issues/6523
og:image:altSplit from #6522. These two pieces measure how long something took, so they can move to a Stopwatch before v9. Check-in durations did the same in #6032. The gesture timestamps (when something happe...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerunningcode
hostnamegithub.com
expected-hostnamegithub.com
None002aa6b95ffa730b0aec436a5c383f536ad677284e60056037fb120afe37b730
turbo-cache-controlno-preview
go-importgithub.com/getsentry/sentry-java git https://github.com/getsentry/sentry-java.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3368190
octolytics-dimension-repository_nwogetsentry/sentry-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3368190
octolytics-dimension-repository_network_root_nwogetsentry/sentry-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release059f24c781e3a0d7df3f27a97da0e93fab06ae39
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getsentry/sentry-java/issues/6523#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fissues%2F6523
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-java%2Fissues%2F6523
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=getsentry%2Fsentry-java
Reloadhttps://github.com/getsentry/sentry-java/issues/6523
Reloadhttps://github.com/getsentry/sentry-java/issues/6523
Reloadhttps://github.com/getsentry/sentry-java/issues/6523
getsentryhttps://github.com/getsentry
sentry-javahttps://github.com/getsentry/sentry-java
Codehttps://github.com/getsentry/sentry-java
Issues266 (266)https://github.com/getsentry/sentry-java/issues
Pull requests58 (58)https://github.com/getsentry/sentry-java/pulls
Discussionshttps://github.com/getsentry/sentry-java/discussions
Actionshttps://github.com/getsentry/sentry-java/actions
Projectshttps://github.com/getsentry/sentry-java/projects
Security and quality2 (2)https://github.com/getsentry/sentry-java/security
Insightshttps://github.com/getsentry/sentry-java/insights
https://github.com/getsentry/sentry-java
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/6523
New issuehttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/6523
#6538https://github.com/getsentry/sentry-java/pull/6538
Session Replay gesture batching measures durations with the wall clockhttps://github.com/getsentry/sentry-java/issues/6523#top
#6538https://github.com/getsentry/sentry-java/pull/6538
https://github.com/runningcode
Platform: Javahttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Java%22
https://github.com/runningcode
runningcodehttps://github.com/runningcode
on Nov 9, 2026https://github.com/getsentry/sentry-java/issues/6523#issue-6289905638
#6522https://github.com/getsentry/sentry-java/issues/6522
#6032https://github.com/getsentry/sentry-java/pull/6032
#6522https://github.com/getsentry/sentry-java/issues/6522
fix(replay): Measure recording deadlines on a monotonic clock (JAVA-575) #6090https://github.com/getsentry/sentry-java/pull/6090
Session Replay segment, buffer and gesture timestamps read the wall clock #6522https://github.com/getsentry/sentry-java/issues/6522
Session Replay segment, buffer and gesture timestamps read the wall clock #6522https://github.com/getsentry/sentry-java/issues/6522
fix(replay): Measure recording deadlines on a monotonic clock (JAVA-575) #6090https://github.com/getsentry/sentry-java/pull/6090
fix(replay): Measure recording deadlines on a monotonic clock (JAVA-575) #6090https://github.com/getsentry/sentry-java/pull/6090
fix: use System.nanoTime() for cron check-in duration measurement #5611https://github.com/getsentry/sentry-java/pull/5611
ref(checkin): Measure check-in durations with Stopwatch (JAVA-576) #6032https://github.com/getsentry/sentry-java/pull/6032
runningcodehttps://github.com/runningcode
on Nov 9, 2026https://github.com/getsentry/sentry-java/issues/6523#event-35588659851
runningcodehttps://github.com/runningcode
Platform: Javahttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Java%22
on Nov 9, 2026https://github.com/getsentry/sentry-java/issues/6523#event-35588663037
https://github.com/apps/linear-code
linear-codehttps://github.com/apps/linear-code
on Nov 9, 2026https://github.com/getsentry/sentry-java/issues/6523#issuecomment-6745044257
Linear Codehttps://linear.app
JAVA-830https://linear.app/getsentry/issue/JAVA-830
runningcodehttps://github.com/runningcode
completedhttps://github.com/getsentry/sentry-java/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
42fb799https://github.com/getsentry/sentry-java/commit/42fb799ca58e5a75169c43a92e47d5f9da79d2f8
on Nov 11, 2026https://github.com/getsentry/sentry-java/issues/6523#event-35773295324
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Nov 11, 2026https://github.com/getsentry/sentry-java/issues/6523#issuecomment-6801922774
GitHub Actionshttps://help.github.com/en/actions
#6538https://github.com/getsentry/sentry-java/pull/6538
8.64.0 releasehttps://github.com/getsentry/sentry-java/releases/tag/8.64.0
runningcodehttps://github.com/runningcode
on Nov 17, 2026https://github.com/getsentry/sentry-java/issues/6523#event-36389106941
Update v9 branch (#6633)https://github.com/getsentry/sentry-java/commit/e59791ffa1e8ddbbcdb04669d91e78efb2f9f904
#6633https://github.com/getsentry/sentry-java/pull/6633
https://docs.github.com/articles/closing-issues-via-commit-messages
e59791fhttps://github.com/getsentry/sentry-java/commit/e59791ffa1e8ddbbcdb04669d91e78efb2f9f904
mvanhornhttps://github.com/mvanhorn
on Nov 17, 2026https://github.com/getsentry/sentry-java/issues/6523#event-36456387630
fix(replay): Measure gesture batch durations on a monotonic clock (JA…https://github.com/mvanhorn/sentry-java/commit/42fb799ca58e5a75169c43a92e47d5f9da79d2f8
https://docs.github.com/articles/closing-issues-via-commit-messages
42fb799https://github.com/mvanhorn/sentry-java/commit/42fb799ca58e5a75169c43a92e47d5f9da79d2f8
Sign up for freehttps://github.com/signup?return_to=https://github.com/getsentry/sentry-java/issues/6523
Sign in to commenthttps://github.com/login?return_to=https://github.com/getsentry/sentry-java/issues/6523
runningcodehttps://github.com/runningcode
Platform: Javahttps://github.com/getsentry/sentry-java/issues?q=state%3Aopen%20label%3A%22Platform%3A%20Java%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.