diff --git a/telemetry/definitions/commonDefinitions.json b/telemetry/definitions/commonDefinitions.json index 1f8e48c7..8e9e06c0 100644 --- a/telemetry/definitions/commonDefinitions.json +++ b/telemetry/definitions/commonDefinitions.json @@ -234,6 +234,11 @@ ], "description": "User inputted check type to denote which custom check to run." }, + { + "name": "childProcess", + "type": "string", + "description": "A string representation of a ChildProcess" + }, { "name": "cloudWatchLogsPresentation", "type": "string", @@ -1526,6 +1531,11 @@ "type": "int", "description": "Number of generations before the user accepted or rejected" }, + { + "name": "numChildProcesses", + "type": "int", + "description": "number of child processes actively running" + }, { "name": "oldVersion", "type": "string", @@ -1774,6 +1784,12 @@ "CodeOnly" ] }, + { + "name": "systemResource", + "type": "string", + "allowedValues": ["cpu", "memory"], + "description": "The system resource being measured" + }, { "name": "target", "type": "string", @@ -5935,6 +5951,20 @@ } ] }, + { + "name": "ide_childProcessWarning", + "description": "Child Process warning due to high system usage", + "metadata": [ + { + "type": "childProcess", + "required": true + }, + { + "type": "systemResource", + "required": true + } + ] + }, { "name": "ide_editCodeFile", "description": "User opened a code file with the given file extension. Client should DEDUPLICATE this metric (ideally hourly/daily). AWS-specific files should (also) emit `file_editAwsFile`.", @@ -5946,6 +5976,16 @@ } ] }, + { + "name": "ide_showExtStats", + "description": "Emitted when user invokes show extensions stats command", + "metadata": [ + { + "type": "numChildProcesses", + "required": true + } + ] + }, { "name": "lambda_configure", "description": "Called when opening the local configuration of a Lambda to edit",