Skip to content

Commit 91cd8c6

Browse files
committed
metric for every message in history
only message char count amazonq_addMessageHistory fix
1 parent 2c39a92 commit 91cd8c6

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1096,6 +1096,11 @@
10961096
"type": "boolean",
10971097
"description": "True if the code snippet that user interacts with has a reference."
10981098
},
1099+
{
1100+
"name": "cwsprChatHistoryMessageCharacterCount",
1101+
"type": "int",
1102+
"description": "The number of characters in a history message"
1103+
},
10991104
{
11001105
"name": "cwsprChatInteractionTarget",
11011106
"type": "string",
@@ -2399,6 +2404,37 @@
23992404
}
24002405
]
24012406
},
2407+
{
2408+
"name": "amazonq_addMessageHistory",
2409+
"description": "When a message is added to the history",
2410+
"metadata": [
2411+
{
2412+
"type": "credentialStartUrl",
2413+
"required": false
2414+
},
2415+
{
2416+
"type": "cwsprChatConversationId"
2417+
},
2418+
{
2419+
"type": "cwsprChatConversationType"
2420+
},
2421+
{
2422+
"type": "cwsprChatHistoryMessageCharacterCount"
2423+
},
2424+
{
2425+
"type": "cwsprChatMessageId",
2426+
"required": false
2427+
},
2428+
{
2429+
"type": "cwsprToolName",
2430+
"required": false
2431+
},
2432+
{
2433+
"type": "cwsprToolUseId",
2434+
"required": false
2435+
}
2436+
]
2437+
},
24022438
{
24032439
"name": "amazonq_approachInvoke",
24042440
"description": "Captures Approach generation process",

0 commit comments

Comments
 (0)