Skip to content

Commit

Permalink
feat: add op and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBa committed Jun 27, 2023
1 parent 78e250b commit 7038db9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/browser/src/profiling/hubextensions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,9 @@ export function wrapTransactionWithProfiling(transaction: Transaction): Transact
return null;
}

const stopProfilerSpan = transaction.startChild({ description: 'profiler.stop' });
// This is temporary - we will use the collected span data to evaluate
// if deferring txn.finish until profiler resolves is a viable approach.
const stopProfilerSpan = transaction.startChild({ description: 'profiler.stop', op: 'profiler' });

return profiler
.stop()
Expand Down

0 comments on commit 7038db9

Please sign in to comment.