-
Notifications
You must be signed in to change notification settings - Fork 210
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 Browser Web Vitals Event #1940
base: main
Are you sure you want to change the base?
Conversation
name: browser.web_vital | ||
brief: > | ||
This event describes the website performance metrics introduced by Google, See [web vitals](https://web.dev/vitals). | ||
body: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would like to see a comment here to clarify that this is temporary or that this will actually be an attribute. That way readers do not expect to find content in the actual body.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
| `cls` | Cumulative Layout Shift. |  | | ||
| `fid` | First Input Delay. |  | | ||
| `inp` | Interation to Next Paint. |  | | ||
| `lcp` | Largest Contentful Paint. |  | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these values (e.g. cls
) coming from the browser / browser spec, or are we creating them?
| `delta` | double | The delta between the current value and the last-reported value. | `0.2` | `Required` |  | | ||
| `id` | string | A unique ID representing this particular metric instance. | `v3-1677874579383-6381583661209` | `Required` |  | | ||
| `name` | enum | Name of the web vital. | `cls` | `Required` |  | | ||
| `value` | double | Value of the web vital. | `1.0` | `Required` |  | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you consider cls.delta
, cls.id
, cls.value
etc?
Fixes #
Changes
Please provide a brief description of the changes here.
Note: if the PR is touching an area that is not listed in the existing areas, or the area does not have sufficient domain experts coverage, the PR might be tagged as experts needed and move slowly until experts are identified.
Merge requirement checklist
[chore]