sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

Add support for Long animation frame timing API

Open AbhiPrasad opened this issue 1 year ago • 2 comments

Problem Statement

https://developer.mozilla.org/en-US/docs/Web/API/Performance_API/Long_animation_frame_timing

Solution Brainstorm

Get information about long animation frames and understand why they happening. We can create spans around these long animation frames.

This can essentially replace current usage of long tasks API

AbhiPrasad avatar Apr 22 '24 13:04 AbhiPrasad

Apparently Web Vitals onINP will return new attribution information that includes LoAF! Would be rad to get that stuff into INP transactions and into Sentry

gggritso avatar May 24 '24 15:05 gggritso

the web vitals stuff is slightly blocked by https://github.com/getsentry/sentry-javascript/issues/11186, but yes would be awesome to have that info as well!

AbhiPrasad avatar May 27 '24 20:05 AbhiPrasad