sentry-javascript
sentry-javascript copied to clipboard
Add support for Long animation frame timing API
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
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
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!