File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const MAX_ROOT_SPAN_PROFILE_MS = 300_000; // 5 minutes
2727 * - there are no more sampled root spans, or
2828 * - the 60s chunk timer elapses while profiling is running.
2929 */
30- export class BrowserTraceLifecycleProfiler {
30+ export class UIProfiler {
3131 private _client : Client | undefined ;
3232 private _profiler : JSSelfProfiler | undefined ;
3333 private _chunkTimer : ReturnType < typeof setTimeout > | undefined ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import type { BrowserOptions } from '../client';
44import { DEBUG_BUILD } from '../debug-build' ;
55import { WINDOW } from '../helpers' ;
66import { startProfileForSpan } from './startProfileForSpan' ;
7- import { BrowserTraceLifecycleProfiler } from './traceLifecycleProfiler ' ;
7+ import { UIProfiler } from './UIProfiler ' ;
88import type { ProfiledEvent } from './utils' ;
99import {
1010 addProfilesToEnvelope ,
@@ -65,7 +65,7 @@ const _browserProfilingIntegration = (() => {
6565 return ;
6666 }
6767
68- const traceLifecycleProfiler = new BrowserTraceLifecycleProfiler ( ) ;
68+ const traceLifecycleProfiler = new UIProfiler ( ) ;
6969 traceLifecycleProfiler . initialize ( client , sessionSampled ) ;
7070
7171 // If there is an active, sampled root span already, notify the profiler
File renamed without changes.
You can’t perform that action at this time.
0 commit comments