Skip to content

Commit 10ac3e6

Browse files
committed
use browserPerformanceTimeOrigin
1 parent 8155ccd commit 10ac3e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tracing/src/browser/metrics.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ export class MetricsInstrumentation {
136136
if (transaction.op === 'pageload') {
137137
// normalize applicable web vital values to be relative to transaction.startTimestamp
138138

139-
const timeOrigin = msToSec(performance.timeOrigin);
139+
const timeOrigin = msToSec(browserPerformanceTimeOrigin);
140140

141141
['fcp', 'fp', 'lcp', 'ttfb'].forEach(name => {
142142
if (!this._measurements[name] || timeOrigin >= transaction.startTimestamp) {

0 commit comments

Comments
 (0)