Skip to content

Commit

Permalink
Update web-vital name to allow custom values
Browse files Browse the repository at this point in the history
  • Loading branch information
scheler committed Mar 30, 2023
1 parent 0cac282 commit bb104dd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions specification/logs/events/semantic_conventions/browser.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,10 +213,10 @@ requests made by the browser using XMLHttpRequest or Fetch or sendBeacon APIs.
| `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` MUST be one of the following:
`name` has the following list of well-known values. If one of them applies, then the respective value MUST be used, otherwise a custom value MAY be used.

| Value | Description |
|---|---|
| `CLS` | cls |
| `LCP` | lcp |
| `FID` | fid |
| `CLS` | Cumulative Layout Shift |
| `LCP` | Largest Contentful Paint |
| `FID` | First Input Delay |

0 comments on commit bb104dd

Please sign in to comment.