Add releaseDate to builtin vscode telemetry too (#252047)

* Add releaseDate to builtin vscode telemetry too

* Use common. prefix

* Fix test
This commit is contained in:
Rob Lourens
2025-06-23 12:42:00 -07:00
committed by GitHub
parent e07ae212ce
commit cf2063d0bb
8 changed files with 17 additions and 11 deletions

View File

@@ -1086,7 +1086,7 @@ export class CodeApplication extends Disposable {
const isInternal = isInternalTelemetry(this.productService, this.configurationService);
const channel = getDelayedChannel(sharedProcessReady.then(client => client.getChannel('telemetryAppender')));
const appender = new TelemetryAppenderClient(channel);
const commonProperties = resolveCommonProperties(release(), hostname(), process.arch, this.productService.commit, this.productService.version, machineId, sqmId, devDeviceId, isInternal);
const commonProperties = resolveCommonProperties(release(), hostname(), process.arch, this.productService.commit, this.productService.version, machineId, sqmId, devDeviceId, isInternal, this.productService.date);
const piiPaths = getPiiPathsFromEnvironment(this.environmentMainService);
const config: ITelemetryServiceConfig = { appenders: [appender], commonProperties, piiPaths, sendErrorTelemetry: true };