Skip to content

telemetry(amazonq): history character count #1018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,11 @@
"type": "boolean",
"description": "True if the code snippet that user interacts with has a reference."
},
{
"name": "cwsprChatHistoryMessageCharacterCount",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you drop this word "history" from the name and description here? It is just the character count of a message.

"type": "int",
"description": "The number of characters in a history message"
},
{
"name": "cwsprChatInteractionTarget",
"type": "string",
Expand Down Expand Up @@ -2399,6 +2404,37 @@
}
]
},
{
"name": "amazonq_addMessageHistory",
"description": "When a message is added to the history",
"metadata": [
{
"type": "credentialStartUrl",
"required": false
},
{
"type": "cwsprChatConversationId"
},
{
"type": "cwsprChatConversationType"
},
{
"type": "cwsprChatHistoryMessageCharacterCount"
},
{
"type": "cwsprChatMessageId",
"required": false
},
{
"type": "cwsprToolName",
"required": false
},
{
"type": "cwsprToolUseId",
"required": false
}
]
},
{
"name": "amazonq_approachInvoke",
"description": "Captures Approach generation process",
Expand Down