ApplicationInsights-JS icon indicating copy to clipboard operation
ApplicationInsights-JS copied to clipboard

Standard browser metrics to support Core Web Vitals

Open krishnasaga opened this issue 1 year ago • 3 comments

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

krishnasaga avatar Mar 05 '23 11:03 krishnasaga

I'm tagging as an enhancement, I'm not currently sure of any timeframe when we could start looking at this. I can say based on where we are with the beta (v3.x) that this will only be implemented in v3 as v2 is already in a feature freeze state.

MSNev avatar Mar 06 '23 18:03 MSNev

This would really help when choosing between Application Insight and ie. Sentry.io which already collects this information

ejerskov avatar Mar 30 '23 09:03 ejerskov

This seems to be very useful information for AppInsights to collect. It would make a great feature.

robcornelius avatar Nov 15 '23 13:11 robcornelius