Skip to content

Commit d551c82

Browse files
committed
Adds currentDeletedLineCount to editTelemetry.reportEditArc
1 parent 5c9a45e commit d551c82

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/vs/workbench/contrib/editTelemetry/browser/telemetry/arcTelemetrySender.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ export class ChatArcTelemetrySender extends Disposable {
146146
originalLineCount: number;
147147
currentLineCount: number;
148148
originalDeletedLineCount: number;
149+
currentDeletedLineCount: number;
149150
}, {
150151
owner: 'hediet';
151152
comment: 'Reports the accepted and retained character count for an inline completion/edit.';
@@ -168,6 +169,7 @@ export class ChatArcTelemetrySender extends Disposable {
168169
originalLineCount: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; isMeasurement: true; comment: 'The original line count before any edits.' };
169170
currentLineCount: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; isMeasurement: true; comment: 'The current line count after edits.' };
170171
originalDeletedLineCount: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; isMeasurement: true; comment: 'The original deleted line count before any edits.' };
172+
currentDeletedLineCount: { classification: 'SystemMetaData'; purpose: 'FeatureInsight'; isMeasurement: true; comment: 'The current deleted line count after edits.' };
171173
}>('editTelemetry.reportEditArc', {
172174
sourceKeyCleaned: data.toKey(Number.MAX_SAFE_INTEGER, {
173175
$extensionId: false,
@@ -196,6 +198,7 @@ export class ChatArcTelemetrySender extends Disposable {
196198
originalLineCount: res.originalLineCount,
197199
currentLineCount: res.currentLineCount,
198200
originalDeletedLineCount: res.originalDeletedLineCount,
201+
currentDeletedLineCount: res.currentDeletedLineCount,
199202

200203
...forwardToChannelIf(isCopilotLikeExtension(data.props.$extensionId)),
201204
});

0 commit comments

Comments
 (0)