File tree Expand file tree Collapse file tree 3 files changed +6
-13
lines changed
Expand file tree Collapse file tree 3 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 2323 "type" : " git" ,
2424 "url" : " https://github.com/salesforce/salesforcedx-vscode-mobile"
2525 },
26+ "enableO11y" : " true" ,
27+ "o11yUploadEndpoint" : " https://794testsite.my.site.com/byolwr/webruntime/log/metrics" ,
28+ "productFeatureId" : " aJCEE0000000mLm4AI" ,
2629 "license" : " SEE LICENSE IN LICENSE.txt" ,
2730 "icon" : " images/package-icon.png" ,
2831 "galleryBanner" : {
Original file line number Diff line number Diff line change @@ -93,15 +93,10 @@ export class CoreExtensionService {
9393 if ( ! telemetryService ) {
9494 throw new Error ( TELEMETRY_SERVICE_NOT_FOUND ) ;
9595 }
96- const { aiKey , name, version } = context . extension . packageJSON ;
96+ const { name } = context . extension . packageJSON ;
9797 CoreExtensionService . telemetryService =
9898 telemetryService . getInstance ( name ) ;
99- CoreExtensionService . telemetryService . initializeService (
100- context ,
101- name ,
102- aiKey ,
103- version
104- ) ;
99+ CoreExtensionService . telemetryService . initializeService ( context ) ;
105100 }
106101
107102 private static isAboveMinimumRequiredVersion (
Original file line number Diff line number Diff line change @@ -38,12 +38,7 @@ export interface TelemetryService {
3838 isTelemetryEnabled ( ) : Promise < boolean > ;
3939 getInstance ( extensionName : string ) : TelemetryService ;
4040 getReporters ( ) : TelemetryReporter [ ] ;
41- initializeService (
42- extensionContext : ExtensionContext ,
43- extensionName : string ,
44- aiKey : string ,
45- version : string
46- ) : Promise < void > ;
41+ initializeService ( extensionContext : ExtensionContext ) : Promise < void > ;
4742 sendExtensionActivationEvent ( hrstart : [ number , number ] ) : void ;
4843 sendExtensionDeactivationEvent ( ) : void ;
4944 sendCommandEvent (
You can’t perform that action at this time.
0 commit comments