tanshanshan opened a new issue, #11902:
URL: https://github.com/apache/skywalking/issues/11902

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar feature requirement.
   
   
   ### Description
   
   skywalking-client-js is a library that provide metrics and error collection 
, and sends them to the SkyWalking backend. Currently, it supports collecting  
First Meaningful Paint (FMP) metric.
    The goal is to also support collecting and displaying  Largest Contentful 
Paint (LCP), Cumulative Layout Shift (CLS), and First Input Delay (FID) 
metrics, which are core web vitals proposed by Google. These is
   These metrics are equally applicable in both Chrome and non-Chrome browsers.
   
   ### Use case
   
    By referencing the repository https://github.com/GoogleChrome/web-vitals, 
you can calculate metrics using ` import {onLCP, onFID, onCLS} from 
'web-vitals' `statement and send them to the SkyWalking backend. The SkyWalking 
backend will aggregate and display the metrics.
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a pull request to implement this on your own?
   
   - [ ] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
notifications-unsubscr...@skywalking.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to