You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Reports the measurements produced by the terminal output compaction
221
+
* {@link Report}, so the effectiveness of compaction (how much output was
222
+
* removed and whether it was lossless) can be evaluated across sessions.
223
+
*/
224
+
logCompaction(report: Report): void{
225
+
typeTelemetryEvent={
226
+
commandKinds: TelemetryTrustedValue<string>;
227
+
originalChars: number;
228
+
compactedChars: number;
229
+
};
230
+
typeTelemetryClassification={
231
+
owner: 'aiday-mar';
232
+
comment: 'Measures how effective terminal output compaction is for the runInTerminal tool';
233
+
commandKinds: {classification: 'SystemMetaData';purpose: 'FeatureInsight';comment: 'The compactor tags that matched the command, encoded as a JSON array'};
234
+
originalChars: {classification: 'SystemMetaData';purpose: 'FeatureInsight';isMeasurement: true;comment: 'The number of UTF-16 characters in the original output'};
235
+
compactedChars: {classification: 'SystemMetaData';purpose: 'FeatureInsight';isMeasurement: true;comment: 'The number of UTF-16 characters in the compacted output'};
0 commit comments