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

feat(rum): Add more web vitals: CLS and TTFB #2964

Merged
merged 5 commits into from
Oct 12, 2020
Merged

Conversation

dashed
Copy link
Member

@dashed dashed commented Oct 8, 2020

Continuation from #2909.


Add the rest of the available web vitals, specifically:

  • Cumulative Layout Shift (CLS) (measurements.cls) - https://web.dev/cls/
  • Time to First Byte (TTFB) (measurements.ttfb) - https://web.dev/time-to-first-byte/
  • Also added measurements.ttfb.requestTime, which measures the time spent making the request and receiving the first byte of the response.

Sourced from: https://github.com/GoogleChrome/web-vitals specifically 56c736b7c4e80f295bc8a98017671c95231fa225. This is already on the vendored web-vitals README file.

dashed added 3 commits October 8, 2020 15:56
@dashed dashed requested review from rhcarvalho and a team October 8, 2020 20:24
@dashed dashed requested a review from kamilogorek as a code owner October 8, 2020 20:24
@dashed dashed self-assigned this Oct 8, 2020
@github-actions
Copy link
Contributor

github-actions bot commented Oct 8, 2020

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 18.35 KB (-0.01% 🔽)
@sentry/browser - Webpack 19.17 KB (0%)
@sentry/react - Webpack 19.17 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 25.29 KB (+1.29% 🔺)

@dashed dashed requested a review from a team October 9, 2020 20:28
@dashed dashed merged commit 9961e17 into master Oct 12, 2020
@dashed dashed deleted the add-more-web-vitals branch October 12, 2020 14:23
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.

None yet

2 participants