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

add attribution to web vitals #39368

Merged
merged 7 commits into from Oct 4, 2022
Merged

Commits on Oct 3, 2022

  1. add attribution to web vitals

    This commit implements the main proposal presented in
    vercel#39241
    to add attribution to web vitals.
    
    Attribution adds more specific debugging info to web vitals,
    for example in the case of Cumulative Layout Shift (CLS),
    we might want to know
    > What's the first element that shifted when the single largest layout shift occurred?
    
    on in the case of Largest Contentful Paint (LCP),
    > What's the element corresponding to the LCP for the page?
    > If it is an image, what's the URL of the image resource?
    
    Attribution is *disabled* by default because it could potentially
    generate a lot data and overwhelm the RUM backend.
    It is enabled *per metric* (LCP, FCP, CLS, etc)
    
    As part of this change, `web-vitals` has been upgraded to v3.0.0-rc.0
    This version contains minor bug fixes, please see changelog at
    GoogleChrome/web-vitals@9fe3cc0
    kyliau committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    b60a915 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d05e44 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cc51c1e View commit details
    Browse the repository at this point in the history
  4. update handling

    ijjk committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    a39c6d5 View commit details
    Browse the repository at this point in the history
  5. tweak imports

    ijjk committed Oct 3, 2022
    Configuration menu
    Copy the full SHA
    9872b15 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    331ae32 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f6468f3 View commit details
    Browse the repository at this point in the history