-
Notifications
You must be signed in to change notification settings - Fork 141
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
✨ [RUM-3837] Force Replay recording on sampled-out sessions #2777
Merged
N-Boutaib
merged 23 commits into
main
from
najib.boutaib/RUM-3837-recording-of-sampled-out-sessions
Jun 4, 2024
Merged
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
c5e1614
Force Replay recording on sampled-out sessions
N-Boutaib 488177d
[RUM-3887] Add unit and E2E tests
N-Boutaib ece231f
[RUM-3837] Expose method to update session state for forced replay
N-Boutaib 637814d
[RUM-3837] Separate sampling state from replay state
N-Boutaib bcbebc4
Update session context history when replay is forced
N-Boutaib d48ac9f
Add unit tests and rename function
N-Boutaib 88c335a
Format code
N-Boutaib edd6cb4
Merge branch 'main' into najib.boutaib/RUM-3837-recording-of-sampled-…
N-Boutaib ed446dd
Sumbodule sync
N-Boutaib 6c4705e
Update spec file after refactoring
N-Boutaib 2f8b40e
Update types after refactoring
N-Boutaib bea862d
Make param optional in public api types
N-Boutaib 9e203bd
Update browser extension
N-Boutaib 2ccf155
Apply reviews
N-Boutaib e8d6cb1
Add extra check in e2e test
N-Boutaib b595827
Format
N-Boutaib 1be6164
Format
N-Boutaib 1887627
Move history update context to higher level
N-Boutaib 74ff0ec
Move rum logic to rumSessionManager
N-Boutaib 58927d7
Remove forgotten code
N-Boutaib 3e8657b
Probably the last commit :sweat_smile:
N-Boutaib 2e6a761
Format last commit
N-Boutaib 0dac36d
Merge branch 'main' into najib.boutaib/RUM-3837-recording-of-sampled-…
N-Boutaib 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
There are no files selected for viewing
This file contains 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ export interface SdkInfos { | |
expire?: string | ||
logs?: string | ||
rum?: string | ||
forcedReplay?: '1' | ||
} | ||
} | ||
|
||
|
This file contains 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 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 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 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 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 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 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
Oops, something went wrong.
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.
💭 thought: Ideally we should remove any notion of "replay" from
@datadog/browser-core
. But I understand this last bit is not trivial to fix, so let's keep it like this for now, and we'll re-explore this later (I opened https://datadoghq.atlassian.net/browse/RUM-4740 for that)