Skip to content

Commit 6ac15e1

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

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 40 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",
@@ -2299,6 +2304,10 @@
22992304
"type": "cwsprChatHasProjectContext",
23002305
"required": false
23012306
},
2307+
{
2308+
"type": "cwsprChatHistoryMessageCharacterCount",
2309+
"required": false
2310+
},
23022311
{
23032312
"type": "cwsprChatMessageId"
23042313
},
@@ -2399,6 +2408,37 @@
23992408
}
24002409
]
24012410
},
2411+
{
2412+
"name": "amazonq_addMessageHistory",
2413+
"description": "When a message is added to the history",
2414+
"metadata": [
2415+
{
2416+
"type": "credentialStartUrl",
2417+
"required": false
2418+
},
2419+
{
2420+
"type": "cwsprChatConversationId"
2421+
},
2422+
{
2423+
"type": "cwsprChatConversationType"
2424+
},
2425+
{
2426+
"type": "cwsprChatHistoryMessageCharacterCount"
2427+
},
2428+
{
2429+
"type": "cwsprChatMessageId",
2430+
"required": false
2431+
},
2432+
{
2433+
"type": "cwsprToolName",
2434+
"required": false
2435+
},
2436+
{
2437+
"type": "cwsprToolUseId",
2438+
"required": false
2439+
}
2440+
]
2441+
},
24022442
{
24032443
"name": "amazonq_approachInvoke",
24042444
"description": "Captures Approach generation process",

0 commit comments

Comments
 (0)