Skip to content

feat(attributes): Add core web web vital value attributes#229

Open
Lms24 wants to merge 7 commits intomainfrom
lms/feat-web-vital-attributes
Open

feat(attributes): Add core web web vital value attributes#229
Lms24 wants to merge 7 commits intomainfrom
lms/feat-web-vital-attributes

Conversation

@Lms24
Copy link
Member

@Lms24 Lms24 commented Jan 22, 2026

This PR adds attributes for Core Web Vitals measurements:

  • browser.web_vital.cls.value
  • browser.web_vital.lcp.value
  • browser.web_vital.inp.value

These new attributes are inspired by OTel, who use browser.web_vital.(lcp|inp|fid|cls) span event names for recording web vitals. I still marked "is_in_otel": false because they are not attributes in OTel but span events. But open to change this if reviewers prefer true here.

For backward compatibility, the original shorthand attributes (cls, lcp, inp) are also added but marked as deprecated with references to their new replacements.

@github-actions

This comment was marked as outdated.

@Lms24 Lms24 force-pushed the lms/feat-web-vital-attributes branch from fcc2171 to c248972 Compare January 23, 2026 09:58
@Lms24 Lms24 changed the title feat(attributes): Add first batch of web vital attributes feat(attributes): Add core web web vital value attributes Jan 23, 2026
@Lms24 Lms24 marked this pull request as ready for review January 23, 2026 10:01
@Lms24 Lms24 requested a review from lcian as a code owner January 23, 2026 10:01
@Lms24 Lms24 force-pushed the lms/feat-web-vital-attributes branch from c0bd592 to c248972 Compare January 23, 2026 10:02
@Lms24 Lms24 force-pushed the lms/feat-web-vital-attributes branch from c248972 to 18ea0e6 Compare January 23, 2026 10:03
@lcian lcian added Feature and removed Feature labels Jan 23, 2026
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.

3 participants