diff --git a/telemetry/definitions/commonDefinitions.json b/telemetry/definitions/commonDefinitions.json index dc309254..8d2ce546 100644 --- a/telemetry/definitions/commonDefinitions.json +++ b/telemetry/definitions/commonDefinitions.json @@ -1,5 +1,10 @@ { "types": [ + { + "name": "acceptedCount", + "type": "int", + "description": "The number of accepted cases" + }, { "name": "action", "type": "string", @@ -178,6 +183,16 @@ "type": "int", "description": "The amount of time required for the build to complete (in seconds)." }, + { + "name": "buildPayloadBytes", + "type": "int", + "description": "The uncompressed payload size in bytes of the source files in customer project context" + }, + { + "name": "buildZipFileBytes", + "type": "int", + "description": "The compressed payload size of source files in bytes of customer project context sent" + }, { "name": "buildSystemVersion", "type": "string", @@ -1207,6 +1222,11 @@ "type": "string", "description": "The name of the EventBridge Schema used in the operation" }, + { + "name": "executedCount", + "type": "int", + "description": "The number of executed operations" + }, { "name": "experimentId", "type": "string", @@ -1273,6 +1293,16 @@ "type": "string", "description": "Application framework being used" }, + { + "name": "generatedCharactersCount", + "type": "int", + "description": "Number of characters of code generated" + }, + { + "name": "generatedCount", + "type": "int", + "description": "The number of generated cases" + }, { "name": "generateFailure", "type": "string", @@ -1670,11 +1700,21 @@ "type": "string", "description": "Date/time that an SSO client registration expires." }, + { + "name": "step", + "type": "string", + "description": "Indicates the stage at which a user interface click action was performed." + }, { "name": "successCount", "type": "int", "description": "The number of successful operations" }, + { + "name": "isSupportedLanguage", + "type": "boolean", + "description": "Indicate if the language is supported" + }, { "name": "syncedResources", "type": "string", @@ -1732,6 +1772,11 @@ "type": "string", "description": "User selection from a predefined menu (not user-provided input). See also `action`." }, + { + "name": "userEnteredPromptMessage", + "type": "boolean", + "description": "True if user enter prompt message as input else false" + }, { "name": "userId", "type": "string", @@ -2214,6 +2259,175 @@ } ] }, + { + "name": "amazonq_unitTestGeneration", + "description": "Client side metrics of AmazonQ Unit Test Generation", + "metadata": [ + { + "type": "acceptedCount", + "required": false + }, + { + "type": "cwsprChatAcceptedCharactersLength", + "required": false + }, + { + "type": "cwsprChatAcceptedNumberOfLines", + "required": false + }, + { + "type": "credentialStartUrl", + "required": false + }, + { + "type": "cwsprChatProgrammingLanguage" + }, + { + "type": "executedCount", + "required": false + }, + { + "type": "failedCount", + "required": false + }, + { + "type": "generatedCharactersCount", + "required": false + }, + { + "type": "generatedCount", + "required": false + }, + { + "type": "generatedLinesCount", + "required": false + }, + { + "type": "isSupportedLanguage" + }, + { + "type": "jobGroup", + "required": false + }, + { + "type": "successCount", + "required": false + }, + { + "type": "userEnteredPromptMessage" + } + ] + }, + { + "name": "amazonq_utg_buildLoop", + "description": "Client side invocation of the AmazonQ Unit Test Generation build loop", + "metadata": [ + { + "type": "codewhispererEndToEndLatency", + "required": false + }, + { + "type": "credentialStartUrl", + "required": false + }, + { + "type": "cwsprChatProgrammingLanguage" + }, + { + "type": "isSupportedLanguage" + }, + { + "type": "jobGroup", + "required": false + }, + { + "type": "jobId", + "required": false + }, + { + "type": "result", + "required": false + }, + { + "type": "source", + "required": false + }, + { + "type": "userEnteredPromptMessage" + } + ] + }, + { + "name": "amazonq_utg_generateTests", + "description": "Client side invocation of the AmazonQ Unit Test Generation", + "metadata": [ + { + "type": "acceptedCount", + "required": false + }, + { + "type": "artifactsUploadDuration", + "required": false + }, + { + "type": "buildPayloadBytes", + "required": false + }, + { + "type": "buildZipFileBytes", + "required": false + }, + { + "type": "codewhispererEndToEndLatency", + "required": false + }, + { + "type": "credentialStartUrl", + "required": false + }, + { + "type": "cwsprChatAcceptedCharactersLength", + "required": false + }, + { + "type": "cwsprChatAcceptedNumberOfLines", + "required": false + }, + { + "type": "cwsprChatProgrammingLanguage" + }, + { + "type": "generatedCharactersCount", + "required": false + }, + { + "type": "generatedCount", + "required": false + }, + { + "type": "generatedLinesCount", + "required": false + }, + { + "type": "isSupportedLanguage" + }, + { + "type": "jobGroup", + "required": false + }, + { + "type": "jobId", + "required": false + }, + { + "type": "source", + "required": false + }, + { + "type": "userEnteredPromptMessage" + } + ] + }, { "name": "amazonq_viewChatPanel", "description": "Captures if Q chat panel is successfully viewed or not", @@ -6997,6 +7211,10 @@ "metadata": [ { "type": "elementId" + }, + { + "type": "step", + "required": false } ] },