diff --git a/telemetry/definitions/commonDefinitions.json b/telemetry/definitions/commonDefinitions.json index 2f2d93f7..52c58930 100644 --- a/telemetry/definitions/commonDefinitions.json +++ b/telemetry/definitions/commonDefinitions.json @@ -1297,6 +1297,11 @@ "type": "boolean", "description": "Whether the user has access to CodeWhisperer Chat" }, + { + "name": "hasLogEventFilterPattern", + "type": "boolean", + "description": "If LogEvent filter pattern is applied" + }, { "name": "hasTextFilter", "type": "boolean", @@ -1438,6 +1443,11 @@ "type": "string", "description": "User locale. Examples: en-US, en-GB, etc." }, + { + "name": "logStreamFilterType", + "type": "string", + "description": "Type of LogStream filter applied to session" + }, { "name": "metricId", "type": "string", @@ -1647,6 +1657,11 @@ "type": "string", "description": "The name of the AWS service acted on. These values come from the AWS SDK. To find them in the JAVA SDK search for SERVICE_NAME in each service client, or look for serviceId in metadata in the service2.json" }, + { + "name": "sessionAlreadyStarted", + "type": "boolean", + "description": "Session already open that matches new request" + }, { "name": "sessionDuration", "type": "int", @@ -4995,6 +5010,48 @@ } ] }, + { + "name": "cwlLiveTail_Start", + "description": "When user starts a new LiveTail command", + "metadata": [ + { + "type": "hasLogEventFilterPattern", + "required": false + }, + { + "type": "logStreamFilterType", + "required": false + }, + { + "type": "result" + }, + { + "type": "sessionAlreadyStarted", + "required": true + }, + { + "type": "source", + "required": true + } + ] + }, + { + "name": "cwlLiveTail_Stop", + "description": "When user stops a liveTailSession", + "metadata": [ + { + "type": "duration", + "required": true + }, + { + "type": "result" + }, + { + "type": "source", + "required": true + } + ] + }, { "name": "deeplink_open", "description": "User requested that a resource be opened in the browser using the deeplink service",