-
-
Notifications
You must be signed in to change notification settings - Fork 465
[SR] Capture Replays for ANRs and crashes #3565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
255 commits
Select commit
Hold shift + click to select a range
dd0e9a4
Api dump
romtsn d34ddee
Formatting
romtsn 0cca47c
Lint
romtsn 0a26e8d
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-sou…
romtsn 5ebdfed
Format code
getsentry-bot 04f43ed
More comments
romtsn b461847
Disable detekt plugin for now
romtsn f8419d1
Merge branch 'rz/feat/session-replay-sources' into rz/feat/session-re…
romtsn a63cac1
WIP
romtsn fa72057
Add replay envelopes
romtsn 6cfb511
Remove jsonValue
romtsn 0d031d7
Remove
romtsn 07e6b26
Fix json
romtsn 18af924
Finalize replay envelopes
romtsn 64cedfa
Introduce MapObjectReader
romtsn b8cb924
Add missing test
romtsn 28d341f
Merge branch 'rz/feat/session-replay-envelopes' into rz/feat/session-…
romtsn 1e76fc7
Add test for MapObjectReader
romtsn 13c1971
Add MapObjectWriter change
romtsn a14e090
Merge branch 'rz/feat/session-replay-envelopes' into rz/feat/session-…
romtsn 86baf7f
Add finals
romtsn f1ca9f6
Fix test
romtsn fbbe0d9
Fix test
romtsn 688233f
Merge branch 'rz/feat/session-replay-envelopes' into rz/feat/session-…
romtsn fd63960
Address review
romtsn 93785cc
Add finals and annotations
romtsn 4db19e0
Merge pull request #3215 from getsentry/rz/feat/session-replay-map-ob…
romtsn 4e55ec0
Specify SHA for license headers
romtsn 9603672
Address review from Dhiogo
romtsn 1ce57cb
Address review from Markus
romtsn 62477b4
Remove public captureReplay method
romtsn af42fb3
Fix test
romtsn 1951891
api dump
romtsn cd09739
Merge branch 'rz/feat/session-replay-sources' into rz/feat/session-re…
romtsn 4e54c77
api dump
romtsn b2940c4
Address review from Markus
romtsn 002a0f3
Api dump
romtsn 64f70c5
Merge pull request #3203 from getsentry/rz/feat/session-replay-sources
romtsn fb14ecb
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-env…
romtsn 79151e9
Merge pull request #3214 from getsentry/rz/feat/session-replay-envelopes
romtsn 9e87fe8
Add replay integration
romtsn 2e954f7
Uncomment redacting
romtsn 8bc6219
Update proguard rules
romtsn a5aa4be
Add missing rule for AndroidTest
romtsn f72e45f
Add ReplayCache tests
romtsn 545712c
Add tests
romtsn 2df34a3
Add SessionReplayOptions
romtsn c02f1db
Call listeners when installing RootViewsSpy
romtsn bee240b
Call listeners when installing RootViewsSpy
romtsn e2a821c
Merge branch 'rz/feat/session-replay-integration' into rz/feat/sessio…
romtsn d6bb9ab
SessionReplayOptions -> SentryReplayOptions
romtsn 7854e4f
Fix test
romtsn 2cddcc4
Add AndroidManifest options for replays
romtsn ef3d62c
Add buffer mode and link replays with events/transactions
romtsn f7ac74f
Pass hint to captureReplay
romtsn 5faeb4e
Better error handling
romtsn 65d35ec
recycler lastScreenshot before re-assigning
romtsn 0f4e718
Expose ReplayCache as public api
romtsn fd6e633
Fix redacting out of sync
romtsn 915bd29
Merge branch 'rz/feat/session-replay-integration' into rz/feat/sessio…
romtsn 1a5c4da
_experimental -> experimental
romtsn fd92dc7
Merge branch 'rz/feat/session-replay-options' into rz/feat/session-re…
romtsn da37c89
Merge conflicts
romtsn c53a975
Fix tests
romtsn 18eb67e
Add more tests
romtsn a7ae2b7
Improve ReplayCache logic
romtsn bf14d83
frameUsec -> frameDurationUsec
romtsn 82fe21a
bottom/right -> height/width
romtsn de56e35
add todos
romtsn fa8c527
duration -> durationMs
romtsn dfbb992
replaId non-nullable
romtsn 4ada96f
Merge branch 'rz/feat/session-replay-integration' into rz/feat/sessio…
romtsn c6a993f
Merge branch 'rz/feat/session-replay-options' into rz/feat/session-re…
romtsn ad7d78d
More conflicts
romtsn ab00547
More conflicts
romtsn 7f78fee
Fix tests
romtsn 9f252bc
Address PR review
romtsn 27b15d7
Add kdoc
romtsn 5278c86
Merge branch 'rz/feat/session-replay-integration' into rz/feat/sessio…
romtsn 27674b1
Merge branch 'rz/feat/session-replay-options' into rz/feat/session-re…
romtsn 957f0cf
Add kdoc
romtsn da3560d
Fix tests
romtsn b04aaf2
Merge pull request #3272 from getsentry/rz/feat/session-replay-integr…
romtsn 023cb5f
Merge pull request #3283 from getsentry/rz/feat/session-replay-options
romtsn 1a77d17
Add comment for experimental options
romtsn b88b1b9
Do not run recorder if full session was not sampled
romtsn 4d533fb
Add more tests
romtsn 4276264
Add session deadline of 1h
romtsn 3fe5e0f
Clean up older replays when starting a new one
romtsn ca9f9d4
Remove unnecessary extension fun
romtsn 7079d7a
[SR] Add buffer mode and link replays with events/transactions
romtsn ea417e4
Safe executors
romtsn f994ac9
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-cle…
romtsn 0c5e4b0
Fix crashing MediaCodec and use density to determine recording resolu…
romtsn 3e0894d
Add redact options and align naming
romtsn 1fc9aa2
Fix tests
romtsn 15e61dd
Merge branch 'rz/fix/session-replay-media-codec' into rz/feat/session…
romtsn ad98acd
Fix tests
romtsn 5b8ed7c
Merge branch 'rz/fix/session-replay-media-codec' into rz/feat/session…
romtsn 227c22a
WIP
romtsn 0fca8ad
Try-catch release of encoder
romtsn 5e37622
Support orientation change for session mode
romtsn d0b4d5c
WIP
romtsn f0fcf5d
Merge branch 'rz/fix/session-replay-media-codec' into rz/feat/session…
romtsn d7a7123
Merge branch 'rz/feat/session-replay-redact-options' into rz/feat/ses…
romtsn 236ee2c
Spotless
romtsn e9bf0b3
TODO
romtsn bf8f49a
[SR] Cleanups and session deadline
romtsn 71837c1
Update sentry/src/main/java/io/sentry/SentryReplayOptions.java
romtsn 1430e7e
[SR] Fix crashing MediaCodec and use density to determine recording r…
romtsn a0c2678
[SR] Handle orientation change
romtsn 3ef9f06
[SR] Add redact options and align naming
romtsn 59b63e0
More gates
romtsn a9e3405
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-gates
romtsn 21239ca
Revert addAll
romtsn b27a905
[SR] More gates
romtsn b83a894
Merge branch 'main' into rz/feat/session-replay
romtsn 9cafe43
Fix conflicts
romtsn 6c9baea
fix test
romtsn 62a0984
Merge branch 'main' into rz/feat/session-replay
romtsn 2057e22
release: 7.8.0-alpha.0
getsentry-bot 7b24e7c
Merge branch 'release/7.8.0-alpha.0' into rz/feat/session-replay
5e33e95
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-cap…
romtsn f8f5698
Introduce CaptureStrategy for buffer and session modes
romtsn 5c59bf7
Formatting
romtsn 247f1c9
WIP
romtsn c2be16f
Expose public API for flutter
romtsn 06d4b6d
Spotless
romtsn 59056ef
Spotless
romtsn 06495d8
Merge branch 'rz/feat/session-replay-breadcrumbs' into rz/feat/sessio…
romtsn 0e951eb
Remove breadcrumb import
romtsn 9686a74
Merge branch 'rz/feat/session-replay-breadcrumbs' into rz/feat/sessio…
romtsn e33b29c
Send temporary breadcrumbs and add test
romtsn 27e17c1
Formatting
romtsn 51cc432
Sort rrweb events
romtsn 82680fb
Merge branch 'rz/feat/session-replay-breadcrumbs' into rz/feat/sessio…
romtsn 4c7d1a0
Formatting
romtsn 32fb5f0
Merge branch 'rz/feat/session-replay-breadcrumbs' into rz/feat/sessio…
romtsn c6b16ed
Expose replayCacheDir
romtsn 6f3dc0a
Capture network requests
romtsn 4c562fb
Change op name to resource.http
romtsn cd4fd9e
feat(replay): Add `sendReplay` method for Hybrid SDKs
krystofwoldrich e836f49
fix apiDump
krystofwoldrich 4f240d4
Address PR review
romtsn 12c0eb7
Merge pull request #3357 from getsentry/rz/feat/session-replay-captur…
romtsn db66737
[SR] Capture breadcrumbs (temporary)
romtsn 33cd776
[SR] Expose public API for flutter
romtsn bdd9db5
[SR] Capture network requests
romtsn 9295f0f
[SR] Add `sendReplay` method for Hybrid SDKs
romtsn f6b464b
Capture motion events as incremental rrweb events
romtsn 2d508c9
Spotless
romtsn c0158eb
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-tou…
romtsn 234b789
Revert
romtsn a68e88e
Merge branch 'main' into rz/feat/session-replay
romtsn b3ee659
Changelog
romtsn e89a3ef
release: 7.9.0-alpha.1
getsentry-bot 2c0977b
Fix test
romtsn d4ac484
Merge branch 'release/7.9.0-alpha.1' into rz/feat/session-replay
5c05b6f
WIP
romtsn 0476132
Adhere to rrweb move event expectations
romtsn 7823d87
formatting
romtsn 9596bb9
Align breadcrumbs with frontend and iOS
romtsn 733b490
Add tests and fix deserialization
romtsn 1217bb1
Rotate buffered motion events in buffer mode
romtsn 647822c
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-tou…
romtsn 6f83386
Merge branch 'rz/feat/session-replay-touch-events' into rz/feat/sessi…
romtsn 69e5144
Add Nullables
romtsn a3d581c
Address PR feedback
romtsn d93e609
Formatting
romtsn 0af0984
[SR] Capture gestures/motion events
romtsn 5e119af
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-bre…
romtsn b9b78df
Rotate current events until segment end exclusively
romtsn 50443a4
[SR] Align breadcrumbs with frontend (#3406)
romtsn f37c593
Allow rrweb breadcrumb customization from hybrid SDKs
romtsn 730dc66
Fix proguard rules
romtsn 69b23cc
WIP
romtsn c2dcad5
Add tests
romtsn d8fda33
Detect obscured views
romtsn 26df8c6
revert some thigns
romtsn 9c874d7
Remove commented code
romtsn db4ed1b
Merge branch 'rz/feat/session-replay-breadcrumbs-customizer' into rz/…
romtsn 7b01de3
Suppress lint
romtsn aa2a5a9
Support multi-touch gestures
romtsn 4aa50c2
Address PR feedback
romtsn 11437d4
[SR] Allow RRWeb breadcrumb customization from hybrid SDKs
romtsn e3623e5
[SR] Redaction fixes part 1
romtsn 5b412ae
Merge branch 'main' into rz/feat/session-replay
romtsn 522b586
Changelog
romtsn 263e147
release: 7.11.0-alpha.2
getsentry-bot a83b5d9
Merge branch 'release/7.11.0-alpha.2' into rz/feat/session-replay
9444da9
Make multi-touch work
romtsn 54056cb
Fix tests
romtsn 587b6d0
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-mul…
romtsn df7270e
WIP
romtsn 53d5fbc
Capture screen names as urls for replay
romtsn a783326
Fix
romtsn 01b7d67
Ignore warning
romtsn c832416
Address PR feedback
romtsn cfc52d9
[SR] Support multi-touch gestures
romtsn eef3c11
Tests
romtsn 97d530c
Add quality settings
romtsn 5557450
Fix redacting out of sync
romtsn 213ff9e
Remove time measuring
romtsn fc7138b
Mark isEnableScreenTracking as experimental
romtsn d655d52
Format code
getsentry-bot a154cd0
Address PR feedback
romtsn 2f727bc
[SR] Capture screen names as urls
romtsn 17a4d22
[SR] Add quality settings
romtsn 402587d
Clean up
romtsn 71bdb5a
Spotless
romtsn a54f92f
[SR] Redaction fixes pt. 2
romtsn bc18c8b
feat(replay): Add `redactClasses` option
krystofwoldrich 8f9a6d3
update api dump
krystofwoldrich da59406
Merge branch 'main' into rz/feat/session-replay
romtsn 67efa10
Format code
getsentry-bot 89f5186
Changelog
romtsn befe3fe
release: 7.12.0-alpha.3
getsentry-bot 4866d54
Update CHANGELOG.md
krystofwoldrich 615bb0e
Merge branch 'release/7.12.0-alpha.3' into rz/feat/session-replay
837e911
[SR] Add `redactClasses` option (#3546)
krystofwoldrich 50c1d50
misc(changelog): Prepare for next alpha
krystofwoldrich 361f73a
fix(changelog): Bump alpha version number
krystofwoldrich 061ac4b
release: 7.12.0-alpha.4
getsentry-bot 092f714
Merge branch 'release/7.12.0-alpha.4' into rz/feat/session-replay
c9b0804
Capture replay in session mode for ANRs
romtsn 641a434
Tests
romtsn d5b213f
Merge branch 'rz/feat/session-replay' into rz/feat/session-replay-anrs
romtsn 8cf2d1c
Api dump
romtsn ff1e3fe
Merge branch 'main' into rz/feat/session-replay-anrs
romtsn 544bd00
Format code
getsentry-bot c0ebbed
Resolve merge conflicts
romtsn 7fd180a
Fix tests
romtsn eced6ae
Format code
getsentry-bot 09fb0e4
Add SessionCaptureStrategyTest
romtsn 78b08b1
Infer duration from last frame for the unsent segment
romtsn d7dd9c4
Support replays for crashes in buffer and session modes
romtsn b303380
Fix breadcrumb http timestamps type
romtsn dffa4a9
Always do partial updates to the video
romtsn 8d86dab
Make buffer mode work for ANRs
romtsn 2267b1d
Add tests
romtsn 4e4a437
Add buffer strategy test
romtsn a45ade2
Improve ReplayCache persistence logic
romtsn c503b1d
Address PR feedback
romtsn 2df4894
Merge branch 'main' into rz/feat/session-replay-anrs
romtsn d43e70d
Merge branch 'rz/feat/session-replay-anrs' into rz/feat/session-repla…
romtsn aadb364
Format code
getsentry-bot 5c2f8fc
Revert sample rate to session
romtsn b984455
Address PR feedback
romtsn 67fede6
[SR] Support replays for crashes in buffer and session modes
romtsn dc8b49a
Changelog
romtsn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Infer duration from last frame for the unsent segment
- Loading branch information
commit 78b08b10b7995e1d6df8a24400aef8e066129788
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will address in the other PR since this line has changed there