File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/vs/workbench/services/timer/browser Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import { IWorkbenchLayoutService } from 'vs/workbench/services/layout/browser/la
17
17
import { IPaneCompositePartService } from 'vs/workbench/services/panecomposite/browser/panecomposite' ;
18
18
import { ViewContainerLocation } from 'vs/workbench/common/views' ;
19
19
import { StopWatch } from 'vs/base/common/stopwatch' ;
20
+ import { TrustedTelemetryValue } from 'vs/platform/telemetry/common/telemetryUtils' ;
20
21
21
22
/* __GDPR__FRAGMENT__
22
23
"IMemoryInfo" : {
@@ -583,7 +584,7 @@ export abstract class AbstractTimerService implements ITimerService {
583
584
// event and it is "normalized" to a relative timestamp where the first mark
584
585
// defines the start
585
586
586
- type Mark = { source : string ; name : string ; startTime : number } ;
587
+ type Mark = { source : string ; name : TrustedTelemetryValue ; startTime : number } ;
587
588
type MarkClassification = {
588
589
owner : 'jrieken' ;
589
590
comment : 'Information about a performance marker' ;
@@ -595,7 +596,7 @@ export abstract class AbstractTimerService implements ITimerService {
595
596
for ( const mark of marks ) {
596
597
this . _telemetryService . publicLog2 < Mark , MarkClassification > ( 'startup.timer.mark' , {
597
598
source,
598
- name : mark . name ,
599
+ name : new TrustedTelemetryValue ( mark . name ) ,
599
600
startTime : mark . startTime
600
601
} ) ;
601
602
}
You can’t perform that action at this time.
0 commit comments