Skip to content

Commit

Permalink
Integrate thomas.lebeau/loaf-start-time (#3050) into staging-40
Browse files Browse the repository at this point in the history
Integrated commit sha: c6141db

Co-authored-by: Thomas Lebeau <thomas.lebeau@datadoghq.com>
  • Loading branch information
dd-mergequeue[bot] and thomas-lebeau authored Oct 2, 2024
2 parents 4d949a0 + c6141db commit 0247475
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ describe('long animation frames collection', () => {
first_ui_event_timestamp: 0 as ServerDuration,
render_start: 1_421_500_000 as ServerDuration,
style_and_layout_start: 1_428_000_000 as ServerDuration,
start_time: 1_234_000_000 as ServerDuration,
scripts: [
{
duration: (6 * 1e6) as ServerDuration,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export function startLongAnimationFrameCollection(lifeCycle: LifeCycle, configur
first_ui_event_timestamp: toServerDuration(entry.firstUIEventTimestamp),
render_start: toServerDuration(entry.renderStart),
style_and_layout_start: toServerDuration(entry.styleAndLayoutStart),
start_time: toServerDuration(entry.startTime),
scripts: entry.scripts.map((script) => ({
duration: toServerDuration(script.duration),
pause_duration: toServerDuration(script.pauseDuration),
Expand Down
1 change: 1 addition & 0 deletions packages/rum-core/src/rawRumEvent.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ export interface RawRumLongAnimationFrameEvent {
first_ui_event_timestamp: ServerDuration
render_start: ServerDuration
style_and_layout_start: ServerDuration
start_time: ServerDuration
scripts: Array<{
duration: ServerDuration
pause_duration: ServerDuration
Expand Down

0 comments on commit 0247475

Please sign in to comment.