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

🔊 [RUM-253] customize deflate worker failure logs #2414

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

BenoitZugmeyer
Copy link
Member

@BenoitZugmeyer BenoitZugmeyer commented Sep 5, 2023

Motivation

In the coming PR, we'll want to start the deflate worker from different places (according to a
experimental flag/configuration option). The current error message mentioning "Session Replay" is
not adequate anymore.

Changes

This PR add the ability to adjust the error message.

Testing


I have gone over the contributing documentation.

@BenoitZugmeyer BenoitZugmeyer requested review from a team as code owners September 5, 2023 10:25
Copy link
Member Author

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@BenoitZugmeyer
Copy link
Member Author

BenoitZugmeyer commented Sep 5, 2023

@@ -126,6 +126,7 @@ export function makeRecorderApi(

const worker = startDeflateWorker(
configuration,
'Datadog Session Replay',
Copy link
Contributor

Choose a reason for hiding this comment

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

❓ question: ‏any specific intent by adding "Datadog" prefix to the message?

Copy link
Member Author

Choose a reason for hiding this comment

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

I wanted to use Datadog RUM for the RUM Browser SDK, so to mimic this pattern I thought Datadog Session Replay could be nice. I've seen multiple customers using different Session Replay and RUM solution at the same time, so mentioning Datadog could help a bit.

Copy link
Contributor

Choose a reason for hiding this comment

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

It may worth adding the Datadog prefix for all our messages then.

Copy link
Member Author

Choose a reason for hiding this comment

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

I'll do that in a separate PR

@BenoitZugmeyer BenoitZugmeyer force-pushed the benoit/compress--add-deflate-worker-source branch from e6fc07b to 4fa98c7 Compare September 11, 2023 14:12
@BenoitZugmeyer BenoitZugmeyer merged commit 8d73678 into main Sep 15, 2023
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/compress--add-deflate-worker-source branch September 15, 2023 13:54
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.

3 participants