Skip to content

Commit

Permalink
feat(perf): Capture time spent redirecting before loading the current…
Browse files Browse the repository at this point in the history
… page (#2986)
  • Loading branch information
dashed authored Oct 20, 2020
1 parent 7fc797b commit 0a305f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/tracing/src/browser/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,7 @@ export class MetricsInstrumentation {
/** Instrument navigation entries */
function addNavigationSpans(transaction: Transaction, entry: Record<string, any>, timeOrigin: number): void {
addPerformanceNavigationTiming(transaction, entry, 'unloadEvent', timeOrigin);
addPerformanceNavigationTiming(transaction, entry, 'redirect', timeOrigin);
addPerformanceNavigationTiming(transaction, entry, 'domContentLoadedEvent', timeOrigin);
addPerformanceNavigationTiming(transaction, entry, 'loadEvent', timeOrigin);
addPerformanceNavigationTiming(transaction, entry, 'connect', timeOrigin);
Expand Down

0 comments on commit 0a305f6

Please sign in to comment.