From be124a58f995bd5c05166d05d8afc40291451773 Mon Sep 17 00:00:00 2001 From: luca <681992+lukka@users.noreply.github.com> Date: Fri, 28 Feb 2025 20:01:48 -0800 Subject: [PATCH] telemetry metrics accommodate signed values --- Extension/src/LanguageServer/client.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Extension/src/LanguageServer/client.ts b/Extension/src/LanguageServer/client.ts index 46a359c95..1386e3f62 100644 --- a/Extension/src/LanguageServer/client.ts +++ b/Extension/src/LanguageServer/client.ts @@ -186,7 +186,6 @@ interface TelemetryPayload { event: string; properties?: Record; metrics?: Record; - signedMetrics?: Record; } interface ReportStatusNotificationBody extends WorkspaceFolderParams { @@ -2729,8 +2728,7 @@ export class DefaultClient implements Client { if (notificationBody.event === "includeSquiggles" && this.configurationProvider && notificationBody.properties) { notificationBody.properties["providerId"] = this.configurationProvider; } - const metrics_unified: Record = { ...notificationBody.metrics, ...notificationBody.signedMetrics }; - telemetry.logLanguageServerEvent(notificationBody.event, notificationBody.properties, metrics_unified); + telemetry.logLanguageServerEvent(notificationBody.event, notificationBody.properties, notificationBody.metrics); } private async updateStatus(notificationBody: ReportStatusNotificationBody): Promise {