You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
core Web Vitals: no INP/LCP attribution; SPA INP/CLS may be attributed to the next page #970
Enhancement for @telemetry-tracker/core Web Vitals capture. Filed from a code reading of published core 1.5.3 (same packages/telemetry-core/src/web-vitals.ts on main / 1.6.0). Not verified in a browser.
What's missing
No INP/LCP attribution.installWebVitals imports onCLS, onINP, onLCP, onTTFB from "web-vitals", not "web-vitals/attribution". buildWebVitalProperties only records metric, value, rating, path, id, navigation_type, and connection_type. There is no element, event target, or other attribution payload.
Vitals are not grouped by framework route.path is raw window.location.pathname at report time, not a route pattern.
Possible SPA mis-attribution (unverified).path is read in the report callback via readPagePath() (window.location.pathname now), not when the metric started. onINP / onCLS (and sometimes onLCP) typically fire when the metric is finalized, often on page hide or after a client-side navigation. In an SPA, INP or CLS from the previous page may be logged against the next page's path.
Activity