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 @@ -124,6 +124,11 @@
],
"description": "The current state of the App Runner service"
},
{
"name": "artifactType",
"type": "string",
"description": "type of artifact used in a request"
},
{
"name": "artifactsUploadDuration",
"type": "int",
Expand Down Expand Up @@ -315,6 +320,11 @@
"applyFix"
]
},
{
"name": "customRules",
"type": "int",
"description": "number of custom rules present in a request"
},
{
"name": "codeScanServiceInvocationsDuration",
"type": "int",
Expand Down Expand Up @@ -572,7 +582,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 +613,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 @@ -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
Loading