This commit is contained in:
Sandeep Somavarapu
2020-10-07 19:10:42 +02:00
parent 4e8970bc0b
commit 312a812441
15 changed files with 175 additions and 130 deletions

View File

@@ -343,7 +343,7 @@ export async function main(argv: NativeParsedArgs): Promise<void> {
const appenders: AppInsightsAppender[] = [];
if (isBuilt && !extensionDevelopmentLocationURI && !environmentService.disableTelemetry && product.enableTelemetry) {
if (product.aiConfig && product.aiConfig.asimovKey) {
appenders.push(new AppInsightsAppender(eventPrefix, null, product.aiConfig.asimovKey, logService));
appenders.push(new AppInsightsAppender(eventPrefix, null, product.aiConfig.asimovKey));
}
const config: ITelemetryServiceConfig = {