Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโ€™ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

๐Ÿ”Š Collect computed and perf entry durations #1861

Merged
merged 4 commits into from
Dec 12, 2022

Conversation

amortemousque
Copy link
Collaborator

@amortemousque amortemousque commented Dec 8, 2022

Motivation

In the context of the investigation of resources with long durations, I want to assess the performance entry durations correctness.
To do it, I want to colllect xhr and fetch computed durations and corresponding performance entry durations to identify:

  • happens when we got a the duration from performance entry, computed duration or both
  • compare entry duration with computed duration that could highlight an issue from the browser

Changes

Adds resource._dd.computed_duration and resource._dd.entry_performance_duration
Under feature flag resource_durations

Testing

  • Local
  • Staging
  • Unit
  • End to end

I have gone over the contributing documentation.

@amortemousque amortemousque requested a review from a team as a code owner December 8, 2022 14:36
@codecov-commenter
Copy link

codecov-commenter commented Dec 8, 2022

Codecov Report

Merging #1861 (325cd8b) into main (46c51d0) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1861   +/-   ##
=======================================
  Coverage   93.13%   93.14%           
=======================================
  Files         132      132           
  Lines        5100     5106    +6     
  Branches     1143     1146    +3     
=======================================
+ Hits         4750     4756    +6     
  Misses        350      350           
Impacted Files Coverage ฮ”
...rumEventsCollection/resource/resourceCollection.ts 100.00% <100.00%> (รธ)

๐Ÿ“ฃ Weโ€™re building smart automated test selection to slash your CI/CD build times. Learn more

@amortemousque amortemousque force-pushed the aymeric/resource-duration-investigation branch from 6585933 to 114dca3 Compare December 8, 2022 14:44
@amortemousque amortemousque marked this pull request as draft December 8, 2022 14:44
@amortemousque amortemousque marked this pull request as ready for review December 8, 2022 16:23
@amortemousque amortemousque merged commit 0ea8e61 into main Dec 12, 2022
@amortemousque amortemousque deleted the aymeric/resource-duration-investigation branch December 12, 2022 09:27
liywjl pushed a commit that referenced this pull request Dec 13, 2022
* ๐Ÿ”Š Collect computed and perf entry durations
liywjl added a commit that referenced this pull request Dec 13, 2022
* ๐Ÿ› [RUMF-1337] Fix incorrect fetch duration

โ™ป๏ธ remove unused imports

โ™ป๏ธ remove responseDurationInfo

โ™ป๏ธ remove unused import

* ๐Ÿ”ฅ remove `resolveDuration`

* ๐Ÿ”ฅ remove `resolveDuration`

* ๐Ÿ› [RUMF-1449]  workaround for Firefox memory leak when using Zone.js (#1860)

* โ™ป๏ธ [RUMF-1449] rename EventEmitter to EventTarget

Use the native name rather than introducing our own concept.

* ๐Ÿšš [RUMF-1449] move addEventListener functions to a dedicated module

* ๐Ÿ› [RUMF-1449] implement a workaround for Firefox memory leak

* ๐Ÿ‘Œ๐Ÿšš move stubZoneJs in its own module

* ๐Ÿ‘ท Bump staging to staging-51

* ๐Ÿ”Š Collect computed and perf entry durations (#1861)

* ๐Ÿ”Š Collect computed and perf entry durations

* โœจAllow internal analytics subdomain (#1863)

* ๐Ÿ”ฅ remove `resolveDuration`

๐Ÿ”ฅ remove `resolveDuration`

Co-authored-by: Benoรฎt <[email protected]>
Co-authored-by: ci.browser-sdk <[email protected]>
Co-authored-by: Aymeric <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants