Skip to content

Commit

Permalink
Addressing comments
Browse files Browse the repository at this point in the history
  • Loading branch information
laileni-aws committed Nov 11, 2024
1 parent 6c71a1a commit f514400
Showing 1 changed file with 37 additions and 57 deletions.
94 changes: 37 additions & 57 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"types": [
{
"name": "acceptedCount",
"type": "int",
"description": "The number of accepted cases"
},
{
"name": "action",
"type": "string",
Expand Down Expand Up @@ -178,16 +183,6 @@
"type": "int",
"description": "The amount of time required for the build to complete (in seconds)."
},
{
"name": "buildStatus",
"type": "string",
"allowedValues": [
"SUCCESS",
"FAILED",
"CANCELLED"
],
"description": "The amount of time required for the build to complete (in seconds)."
},
{
"name": "buildSystemVersion",
"type": "string",
Expand Down Expand Up @@ -1227,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",
Expand Down Expand Up @@ -1293,6 +1293,11 @@
"type": "string",
"description": "Application framework being used"
},
{
"name": "generatedCount",
"type": "int",
"description": "The number of generated cases"
},
{
"name": "generateFailure",
"type": "string",
Expand Down Expand Up @@ -1497,31 +1502,6 @@
"type": "int",
"description": "Number of generations before the user accepted or rejected"
},
{
"name": "numberOfBuildExecuted",
"type": "int",
"description": "Number of build executed in unit test generation build loop"
},
{
"name": "numberOfBuildFailed",
"type": "int",
"description": "Number of build failures in unit test generation build loop"
},
{
"name": "numberOfBuildPassed",
"type": "int",
"description": "Number of build succeeded in unit test generation build loop"
},
{
"name": "numberOfUnitTestCasesAccepted",
"type": "int",
"description": "Number of unit test cases accepted"
},
{
"name": "numberOfUnitTestCasesGenerated",
"type": "int",
"description": "Number of unit test cases generated"
},
{
"name": "oldVersion",
"type": "string",
Expand Down Expand Up @@ -2318,6 +2298,10 @@
"name": "amazonq_unitTestGeneration",
"description": "Client side metrics of AmazonQ Unit Test Generation",
"metadata": [
{
"type": "acceptedCount",
"required": false
},
{
"type": "charsOfCodeAccepted",
"required": false
Expand All @@ -2334,31 +2318,27 @@
"type": "cwsprChatProgrammingLanguage"
},
{
"type": "linesOfCodeAccepted",
"required": false
},
{
"type": "linesOfCodeGenerated",
"type": "executedCount",
"required": false
},
{
"type": "numberOfBuildExecuted",
"type": "failedCount",
"required": false
},
{
"type": "numberOfBuildFailed",
"type": "generatedCount",
"required": false
},
{
"type": "numberOfBuildPassed",
"type": "linesOfCodeAccepted",
"required": false
},
{
"type": "numberOfUnitTestCasesAccepted",
"type": "linesOfCodeGenerated",
"required": false
},
{
"type": "numberOfUnitTestCasesGenerated",
"type": "successCount",
"required": false
},
{
Expand All @@ -2377,10 +2357,6 @@
"name": "amazonq_utg_buildLoop",
"description": "Client side invocation of the AmazonQ Unit Test Generation build loop",
"metadata": [
{
"type": "buildStatus",
"required": false
},
{
"type": "credentialStartUrl",
"required": false
Expand All @@ -2392,6 +2368,10 @@
"type": "latencyOfClientSideBuild",
"required": false
},
{
"type": "result",
"required": false
},
{
"type": "source",
"required": false
Expand All @@ -2416,6 +2396,10 @@
"name": "amazonq_utg_generateTests",
"description": "Client side invocation of the AmazonQ Unit Test Generation",
"metadata": [
{
"type": "acceptedCount",
"required": false
},
{
"type": "artifactsUploadDuration",
"required": false
Expand All @@ -2436,23 +2420,19 @@
"type": "cwsprChatProgrammingLanguage"
},
{
"type": "latencyOfGeneratingTests",
"type": "generatedCount",
"required": false
},
{
"type": "linesOfCodeAccepted",
"required": false
},
{
"type": "linesOfCodeGenerated",
"type": "latencyOfGeneratingTests",
"required": false
},
{
"type": "numberOfUnitTestCasesAccepted",
"type": "linesOfCodeAccepted",
"required": false
},
{
"type": "numberOfUnitTestCasesGenerated",
"type": "linesOfCodeGenerated",
"required": false
},
{
Expand Down

0 comments on commit f514400

Please sign in to comment.