Skip to content

Commit 54b8494

Browse files
committed
fix: Track browser metrics properly
1 parent 6d9f140 commit 54b8494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/tracing/src/browser/metrics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ function addPerformanceNavigationTiming(
256256
}
257257
transaction.startChild({
258258
description: event,
259-
endTimestamp: end + timeOrigin,
259+
endTimestamp: timeOrigin + msToSec(end),
260260
op: 'browser',
261-
startTimestamp: start + timeOrigin,
261+
startTimestamp: timeOrigin + msToSec(start),
262262
});
263263
}
264264

0 commit comments

Comments
 (0)