-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow sampling based on decide response (#839)
* feat: allow sampling based on decide response * extract type * move the comment * quick version * maybe nicer * fix * fix * fix * fix * fix * fix * fix * fix * fix * convert test file to TS * use real persistence code * can store session minimum duration if received * type safety for decide response in tests * don't flush until minimum duration * move our files into an extension directory * no need to put sampling metadata on * fix * fix first pass minimum duration fitler * log when delaying * log when delaying * remove noisy log * can calculate rather than store status so its all in one place * linked flags control recordings * fix * fix * fix * fix * Fix * Update src/extensions/replay/sessionrecording.ts Co-authored-by: Ben White <[email protected]> * Update src/extensions/replay/sessionrecording.ts Co-authored-by: Ben White <[email protected]> * with a comment for the future traveller * rename refactor * more hidden * fewer getters * fix --------- Co-authored-by: Ben White <[email protected]>
- Loading branch information
1 parent
9cb5efd
commit 7606b0f
Showing
23 changed files
with
825 additions
and
378 deletions.
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
575 changes: 429 additions & 146 deletions
575
src/__tests__/extensions/sessionrecording.ts → ...xtensions/replay/sessionrecording.test.ts
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.