Skip to content

Commit f2f9495

Browse files
authored
fix(telemetry): fix grammer in time to first usable chunk metric (#5855)
## Problem The grammar is bad in the unreleased first usable chunk metric ## Solution Improve the grammar before we make the release
1 parent fb62929 commit f2f9495

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/core/src/codewhispererChat/controllers/chat/telemetryHelper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ export class CWCTelemetryHelper {
450450
),
451451
cwsprChatFullResponseLatency: this.responseStreamTotalTime.get(message.tabID) ?? 0,
452452
cwsprChatTimeToFirstDisplay: this.getFirstDisplayTime(tabID, startTime),
453-
cwsprChatTimeFirstUsableChunk: this.getFirstUsableChunkTime(message.tabID) ?? 0,
453+
cwsprChatTimeToFirstUsableChunk: this.getFirstUsableChunkTime(message.tabID) ?? 0,
454454
cwsprChatFullServerResponseLatency: this.conversationStreamTotalTime.get(message.tabID) ?? 0,
455455
cwsprChatTimeBetweenDisplays: JSON.stringify(this.getTimeBetweenChunks(tabID, this.displayTimeForChunks)),
456456
cwsprChatFullDisplayLatency: fullDisplayLatency,

packages/core/src/shared/telemetry/vscodeTelemetry.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@
170170
"description": "The time between when the conversation id was created and the final response from the server was received"
171171
},
172172
{
173-
"name": "cwsprChatTimeFirstUsableChunk",
173+
"name": "cwsprChatTimeToFirstUsableChunk",
174174
"type": "int",
175175
"description": "The time between the initial server request, including creating the conversation id, and the first usable result"
176176
},
@@ -763,7 +763,7 @@
763763
"type": "cwsprChatFullResponseLatency"
764764
},
765765
{
766-
"type": "cwsprChatTimeFirstUsableChunk"
766+
"type": "cwsprChatTimeToFirstUsableChunk"
767767
},
768768
{
769769
"type": "cwsprChatFullServerResponseLatency"

0 commit comments

Comments
 (0)