diff --git a/telemetry/definitions/commonDefinitions.json b/telemetry/definitions/commonDefinitions.json index dc309254..15d6d5dc 100644 --- a/telemetry/definitions/commonDefinitions.json +++ b/telemetry/definitions/commonDefinitions.json @@ -257,6 +257,17 @@ "local" ] }, + { + "name": "codeFixAction", + "type": "string", + "description": "Captures the type of fix that was accepted", + "allowedValues": [ + "openDiff", + "insertAtCursor", + "copyDiff", + "applyFix" + ] + }, { "name": "codeScanServiceInvocationsDuration", "type": "int", @@ -4352,6 +4363,9 @@ "name": "codewhisperer_codeScanIssueApplyFix", "description": "Called when a code scan issue suggested fix is applied", "metadata": [ + { + "type": "codeFixAction" + }, { "type": "component" },