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

ref(sdk): Bump to JS SDK 6.12 Beta to try out experiment #28173

Merged
merged 1 commit into from Aug 25, 2021

Conversation

k-fish
Copy link
Member

@k-fish k-fish commented Aug 25, 2021

Summary

We've (@AbhiPrasad and me 😄 ) added an experimental option to the js sdk to capture all changes to LCP instead of just the final value. This puts us on the beta cut with the change and turns the 'reportAllChanges' option on.

Why though?

As for why we're doing this, essentially the assumption that the web vitals library makes is that the vital will be reported eventually when the user does something, which is uses to finalize the value and report it. Since we can't have transactions open forever, this will constantly update intermediate values onto the transaction instead of waiting for the final value. Since we now have a way to discern LCP element (etc) this should pose low risk in terms of reducing data accuracy, but we're going to try it out on Sentry first.

tldr; The LCP measurements for Sentry javascript project might change, but if you are already controlling for LCP element, if anything it should just make our numbers more accurate.

related: getsentry/sentry-javascript#3879

@k-fish k-fish requested review from AbhiPrasad and a team August 25, 2021 16:26
@k-fish k-fish requested a review from a team as a code owner August 25, 2021 16:26
We've added an experimental option to the js sdk to capture all changes to LCP instead of just the final value. This puts us on the beta cut with the change and turns the 'reportAllChanges' option on.

As for how / why we're doing this, essentially the assumption that the web vitals library makes is that the vital will be reported eventually when the user does something. Since we can't have transactions open forever, this will constantly update intermediate values onto the transaction instead of waiting for the final value before. Since we now have a way to discern LCP element (etc) this should pose low risk in terms of reducing data accuracy, but we're going to try it out on Sentry first.
Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

🚀

@k-fish k-fish merged commit acd8c63 into master Aug 25, 2021
@k-fish k-fish deleted the ref/sdk-test-out-js-beta-lcp-changes branch August 25, 2021 20:37
@github-actions github-actions bot locked and limited conversation to collaborators Sep 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants