Skip to content
Merged
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
109 changes: 109 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
"type": "double",
"description": "The time it takes to generate code generation response"
},
{
"name": "amazonqHistoryFileSize",
"type": "int",
"description": "The size of a chat history file (in bytes)"
},
{
"name": "amazonqNumberOfFilesAccepted",
"type": "double",
Expand All @@ -75,6 +80,16 @@
"type": "double",
"description": "Captures the size of the source code"
},
{
"name": "amazonqTimeToLoadHistory",
"type": "int",
"description": "The time (in milliseconds) it takes to load chat history from filesystem"
},
{
"name": "amazonqTimeToSearchHistory",
"type": "int",
"description": "The time (in milliseconds) it takes to search through all messages in chat history for a user-provided search string"
},
{
"name": "amazonqUploadIntent",
"type": "string",
Expand Down Expand Up @@ -1009,6 +1024,21 @@
"type": "int",
"description": "Index of the code block inside a message in the conversation."
},
{
"name": "cwsprChatCodeContextCount",
"type": "int",
"description": "Number of code symbols added to context"
},
{
"name": "cwsprChatCodeContextLength",
"type": "int",
"description": "Total length of code symbols added to context"
},
{
"name": "cwsprChatCodeContextTruncatedLength",
"type": "int",
"description": "Truncated length of code symbols added to context"
},
{
"name": "cwsprChatConversationId",
"type": "string",
Expand Down Expand Up @@ -1837,6 +1867,11 @@
"type": "string",
"description": "The old version of something. Useful when updating dependent resources."
},
{
"name": "openTabCount",
"type": "int",
"description": "The number of tabs automatically opened from history"
},
{
"name": "parentId",
"type": "string",
Expand Down Expand Up @@ -2247,6 +2282,18 @@
"type": "cwsprChatActiveEditorTotalCharacters",
"required": false
},
{
"type": "cwsprChatCodeContextCount",
"required": false
},
{
"type": "cwsprChatCodeContextLength",
"required": false
},
{
"type": "cwsprChatCodeContextTruncatedLength",
"required": false
},
{
"type": "cwsprChatConversationId"
},
Expand Down Expand Up @@ -2602,6 +2649,20 @@
}
]
},
{
"name": "amazonq_exportTab",
"description": "When a user exports the current Amazon Q chat tab",
"metadata": [
{
"type": "filenameExt",
"required": true
},
{
"type": "languageServerVersion",
"required": false
}
]
},
{
"name": "amazonq_feedback",
"description": "When a user gives feedback using vote or comment or rating in the conversation",
Expand Down Expand Up @@ -2788,6 +2849,28 @@
}
]
},
{
"name": "amazonq_loadHistory",
"description": "When a history file is loaded from the filesystem and open tabs are restored",
"metadata": [
{
"type": "amazonqHistoryFileSize",
"required": true
},
{
"type": "amazonqTimeToLoadHistory",
"required": true
},
{
"type": "languageServerVersion",
"required": false
},
{
"type": "openTabCount",
"required": true
}
]
},
{
"name": "amazonq_messageResponseError",
"description": "When an error has occured in response to a prompt",
Expand Down Expand Up @@ -2863,6 +2946,32 @@
}
]
},
{
"name": "amazonq_performChatHistoryAction",
"description": "When a user searches, exports, opens, or deletes a conversation from history",
"metadata": [
{
"type": "action",
"required": true
},
{
"type": "amazonqHistoryFileSize",
"required": false
},
{
"type": "amazonqTimeToSearchHistory",
"required": false
},
{
"type": "filenameExt",
"required": false
},
{
"type": "languageServerVersion",
"required": false
}
]
},
{
"name": "amazonq_startConversationInvoke",
"description": "Captures startConversation invocation process",
Expand Down