designcourse icon indicating copy to clipboard operation
designcourse copied to clipboard

✨ Add input, process and render durations to INP

Open arichard-info opened this issue 1 year ago • 1 comments
trafficstars

Motivation

When analysing the INP, it's very useful to have details of the durations: the input, processing and rendering delay.

This information can be calculated from processingStart and processingEnd, which are returned by the PerformanceObserver.

It's a proposition, and the attributes can be renamed. And I don't know if there's equivalent work to be done to make this information available in the Datadog UI, but here's a first draft

Changes

Addition of the values

  • interaction_to_next_paint_input
  • interaction_to_next_paint_process
  • interaction_to_next_paint_render
  • interaction_to_next_paint_type.

Testing

  • [ ] Local
  • [ ] Staging
  • [x] Unit
  • [ ] End to end

arichard-info avatar Sep 30 '24 14:09 arichard-info

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Antoine RICHARD seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

bits-bot avatar Sep 30 '24 14:09 bits-bot

Hi @arichard-info,

It seems that this PR did not manage to get our attention... I am closing it for now but if you are still interested by this topic could you instead open an issue and provide more details on how you would use those extra fields?

bcaudan avatar Jun 30 '25 12:06 bcaudan