Skip to content
57 changes: 54 additions & 3 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,11 @@
"type": "int",
"description": "Time taken to fetch the upload URL and upload the artifacts in milliseconds"
},
{
"name": "artifactType",
"type": "string",
"description": "type of artifact used in a request"
},
{
"name": "attempts",
"type": "int",
Expand Down Expand Up @@ -572,7 +577,7 @@
{
"name": "codewhispererCodeScanJobId",
"type": "string",
"description": "The ID of the security scan job"
"description": "The ID of the scan job"
},
{
"name": "codewhispererCodeScanLines",
Expand Down Expand Up @@ -603,12 +608,12 @@
{
"name": "codewhispererCodeScanSrcZipFileBytes",
"type": "int",
"description": "The compressed payload size of source files in bytes of customer project context sent for security scan"
"description": "The compressed payload size of source files in bytes of customer project context sent for scan"
},
{
"name": "codewhispererCodeScanTotalIssues",
"type": "int",
"description": "The number of security issues been detected"
"description": "The number of issues been detected"
},
{
"name": "codewhispererCompletionType",
Expand Down Expand Up @@ -993,6 +998,11 @@
"other"
]
},
{
"name": "customRules",
"type": "int",
"description": "number of custom rules present in a request"
},
{
"name": "cwsprAgenticChatInteractionType",
"type": "string",
Expand Down Expand Up @@ -2671,6 +2681,47 @@
}
]
},
{
"name": "amazonq_codeReviewTool",
"description": "This metric is used to evaluate Amazon Q's code review tool",
"metadata": [
{
"type": "artifactType",
"required": false
},
{
"type": "codewhispererCodeScanJobId",
"required": false
},
{
"type": "codewhispererCodeScanSrcZipFileBytes",
"required": false
},
{
"type": "codewhispererCodeScanTotalIssues",
"required": false
},
{
"type": "customRules",
"required": false
},
{
"type": "reason",
"required": false
},
{
"type": "reasonDesc",
"required": false
},
{
"type": "result"
},
{
"type": "scope",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:
This can be a required field!

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW Thanks for reusing this field!

"required": false
}
]
},
{
"name": "amazonq_createUpload",
"description": "Captures createUploadUrl invocation process",
Expand Down