microsoft / microsoft/ApplicationInsights-JS

Standard browser metrics to support Core Web Vitals

Open
#2,007 3 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
685
Forks
261
Avg merge
21h 33m
Merged PRs (30d)
5

Description

Is your feature request related to a problem? Please describe.
Support Core Web Vitals https://github.com/microsoft/ApplicationInsights-JS/issues/2092

Describe the solution you'd like
Need additional standard metrics for tracking browser paint metrics

Existing Standard metric browserTimings/totalDuration
Existing Standard metric browserTiming/processingDuration
Existing Standard metric browserTimings/sendDuration
Existing Standard metric browserTimings/receiveDuration

New proposal browserTimings/firstPaint - First Paint
New proposal browserTimings/firstContentfulPaint - https://web.dev/fcp/
New proposal browserTimings/primeryPaint - Time at which primary content of the page is painted on the screen
New proposal browserTimings/secondaryPaint - Time at which secondary content is painted on the screen

Describe alternatives you've considered

  • Using custom metrics
  • Adding additional properties in page view event

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No files, tests, or entry points are named. Start by locating the existing browser timing standard metrics and the page view metric path, then determine which proposed Core Web Vitals are supported and how their completion should be verified. Done means the agreed paint metrics are tracked as standard metrics rather than requiring custom metrics or extra page view properties.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
observability, performance
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.