提交 4e09922a 编写于 作者: J Joao Moreno

add compositeOpen telemetry event

fixes #9856
上级 8d28c302
......@@ -100,6 +100,12 @@ export abstract class Composite extends WorkbenchComponent implements IComposite
if (visible) {
this._telemetryData = {};
this._telemetryData.startTime = new Date();
// Only submit telemetry data when not running from an integration test
if (this._telemetryService && this._telemetryService.publicLog) {
let eventName: string = 'compositeOpen';
this._telemetryService.publicLog(eventName, { composite: this.getId() });
}
}
// Send telemetry data when composite hides
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册