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-201] add internal logs for buggy load event measures #204

Merged

Conversation

BenoitZugmeyer
Copy link
Member

To help debug the weird measure values shown in the View Explorer, this adds debug logs when the SDK sends abnormal load event duration (above one day). This is intentionaly at the lowest level possible (right before serialization) to make sure we have the final value transmited to the backend.

@BenoitZugmeyer BenoitZugmeyer requested a review from a team as a code owner December 16, 2019 17:29
@bits-bot
Copy link

bits-bot commented Dec 16, 2019

CLA assistant check
All committers have signed the CLA.

@DataDog DataDog deleted a comment from bcaudan Dec 17, 2019
@BenoitZugmeyer
Copy link
Member Author

@bcaudan Do we not have all these elements already?

The purpose of this PR is to detect invalid values we may produce and log them along with the informations necessary to identify the associated View event.
With this, when filtering view with "load event > 1day" in the view explorer, we will be able to see if those were logged too.

  • If they are, it means the issue is from the SDK side.
  • If they are not, it means the issue is in the backend.

@BenoitZugmeyer BenoitZugmeyer merged commit 2e43277 into master Dec 17, 2019
@BenoitZugmeyer BenoitZugmeyer deleted the benoit/add-debug-monitoring-for-unexpected-measures branch December 17, 2019 13:14
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