Skip to content
65 changes: 55 additions & 10 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@
"type": "double",
"description": "Captures the size of the source code"
},
{
"name": "artifactType",
"type": "string",
"description": "type of artifact used in a request"
},
{
"name": "amazonqTimeToLoadHistory",
"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 All @@ -587,13 +597,7 @@
{
"name": "codewhispererCodeScanScope",
"type": "string",
"description": "The scope of the security scan being performed",
Copy link
Contributor

Choose a reason for hiding this comment

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

Check if this is not used in existing code base if Yes then we should be good

"allowedValues": [
"FILE",
"FILE_AUTO",
"FILE_ON_DEMAND",
"PROJECT"
]
"description": "The scope of the scan being performed"
},
{
"name": "codewhispererCodeScanSrcPayloadBytes",
Expand All @@ -603,12 +607,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 +2675,47 @@
}
]
},
{
"name": "amazonq_codeReviewTool",
"description": "Parent metric name for the code review tool.",
"metadata": [
{
"type": "artifactType",
"required": false
},
{
"type": "codewhispererCodeScanJobId",
"required": false
},
{
"type": "codewhispererCodeScanSrcZipFileBytes",
"required": false
},
{
"type": "codewhispererCodeScanScope",
"required": false
},
{
"type": "codewhispererCodeScanTotalIssues",
"required": false
},
{
"type": "customRules",
"required": false
},
{
"type": "reason",
"required": false
},
{
"type": "reasonDesc",
"required": false
},
{
"type": "result"
}
]
},
{
"name": "amazonq_createUpload",
"description": "Captures createUploadUrl invocation process",
Expand Down
Loading