diff --git a/telemetry/definitions/commonDefinitions.json b/telemetry/definitions/commonDefinitions.json index 89f452c5..da3dfd64 100644 --- a/telemetry/definitions/commonDefinitions.json +++ b/telemetry/definitions/commonDefinitions.json @@ -1307,12 +1307,12 @@ { "name": "cwsprToolName", "type": "string", - "description": "Client side tool name (ex: fsWrite, executeBash)" + "description": "Client side tool/s name (ex: fsWrite, executeBash)" }, { "name": "cwsprToolUseId", "type": "string", - "description": "The id for when a client side tool is used." + "description": "The id/s when a client side tool/s is used." }, { "name": "databaseCredentials", @@ -1807,6 +1807,11 @@ "type": "string", "description": "The version of the language server" }, + { + "name": "latency", + "type": "string", + "description": "latency/s from any operation or an execution like tool execution." + }, { "name": "loadFileTime", "type": "int", @@ -2806,6 +2811,40 @@ } ] }, + { + "name": "amazonq_invokeLLM", + "description": "This metric is emitted per LLM call in the agentic loop with or without tool execution.", + "metadata": [ + { + "type": "credentialStartUrl", + "required": false + }, + { + "type": "cwsprChatConversationId" + }, + { + "type": "cwsprChatConversationType" + }, + { + "type": "cwsprToolName" + }, + { + "type": "cwsprToolUseId" + }, + { + "type": "enabled", + "required": false + }, + { + "type": "languageServerVersion", + "required": false + }, + { + "type": "latency", + "required": false + } + ] + }, { "name": "amazonq_isAcceptedCodeChanges", "description": "User applied code changes generated for the task.",