Skip to content
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

[RUMF-819] postpone start recording #688

Merged
merged 4 commits into from
Jan 22, 2021
Merged

Conversation

BenoitZugmeyer
Copy link
Member

Motivation

For dogfooding, we want to be able to conditionally start the recording according to a frontend feature flag. Currently, calling DD_RUM.init() systematically starts the recording.

Changes

This PR adds an experimental flag to postpone the recording, and (if enabled) exposes a startSessionRecord method. This is behind a flag because we are not sure if we want to stabilize this API for now.

Testing

Unit tests, manual testing


I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner January 20, 2021 15:03
@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/postpone-recording branch from bee9dd5 to 43cab66 Compare January 21, 2021 14:07
Copy link
Contributor

@bcaudan bcaudan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@BenoitZugmeyer BenoitZugmeyer merged commit d1c757e into master Jan 22, 2021
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/postpone-recording branch January 22, 2021 09:23
kcaffrey pushed a commit to WonderInventions/browser-sdk that referenced this pull request Jan 29, 2021
* [RUMF-819] split rum recorder API creation and global definition

* ⚗✨ [RUMF-819] postpone recording
kcaffrey added a commit to WonderInventions/browser-sdk that referenced this pull request Jan 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants