File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ import { disposeAll } from './common/utils/resourceLifecycle';
47
47
import { ProposedExtensionAPI } from './proposedApiTypes' ;
48
48
import { buildProposedApi } from './proposedApi' ;
49
49
import { GLOBAL_PERSISTENT_KEYS } from './common/persistentState' ;
50
+ import { sendTelemetryEvent } from './telemetry' ;
51
+ import { EventName } from './telemetry/constants' ;
50
52
51
53
durations . codeLoadingTime = stopWatch . elapsedTime ;
52
54
@@ -118,7 +120,9 @@ async function activateUnsafe(
118
120
119
121
// First we initialize.
120
122
const isFirstSession = context . globalState . get ( GLOBAL_PERSISTENT_KEYS , [ ] ) . length === 0 ;
121
- console . log ( isFirstSession ) ;
123
+ if ( isFirstSession ) {
124
+ sendTelemetryEvent ( EventName . FIRST_SESSION ) ;
125
+ }
122
126
const ext = initializeGlobals ( context ) ;
123
127
activatedServiceContainer = ext . legacyIOC . serviceContainer ;
124
128
// Note standard utils especially experiment and platform code are fundamental to the extension
You can’t perform that action at this time.
0 commit comments