提交 b597b123 编写于 作者: R Ramya Rao 提交者: GitHub

Send telemetry only to vortex (#22867)

* Send telemetry only to vortex

* Updating distro commit in package.json
上级 f841b4c4
......@@ -2,7 +2,7 @@
"name": "code-oss-dev",
"version": "1.11.0",
"electronVersion": "1.4.6",
"distro": "64f6f295b56a3512bf34dfb643f770160fd33ee8",
"distro": "d6bc6b7ee7481530a5495a6a58c9e7dd06fa4af2",
"author": {
"name": "Microsoft Corporation"
},
......
......@@ -63,10 +63,6 @@ function main(server: Server, initData: ISharedProcessInitData): void {
instantiationService.invokeFunction(accessor => {
const appenders: AppInsightsAppender[] = [];
if (product.aiConfig && product.aiConfig.key) {
appenders.push(new AppInsightsAppender(eventPrefix, null, product.aiConfig.key));
}
if (product.aiConfig && product.aiConfig.asimovKey) {
appenders.push(new AppInsightsAppender(eventPrefix, null, product.aiConfig.asimovKey));
}
......
......@@ -173,10 +173,6 @@ export function main(argv: ParsedArgs): TPromise<void> {
if (isBuilt && !extensionDevelopmentPath && product.enableTelemetry) {
const appenders: AppInsightsAppender[] = [];
if (product.aiConfig && product.aiConfig.key) {
appenders.push(new AppInsightsAppender(eventPrefix, null, product.aiConfig.key));
}
if (product.aiConfig && product.aiConfig.asimovKey) {
appenders.push(new AppInsightsAppender(eventPrefix, null, product.aiConfig.asimovKey));
}
......
......@@ -32,7 +32,6 @@ export interface IProductConfiguration {
welcomePage: string;
enableTelemetry: boolean;
aiConfig: {
key: string;
asimovKey: string;
};
sendASmile: {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册