Skip to content

Commit 5b97cf6

Browse files
committed
FIX: updating codeReviewTool metric definitions
1 parent 7121e4e commit 5b97cf6

File tree

1 file changed

+18
-11
lines changed

1 file changed

+18
-11
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,6 @@
8080
"type": "double",
8181
"description": "Captures the size of the source code"
8282
},
83-
{
84-
"name": "artifactType",
85-
"type": "string",
86-
"description": "type of artifact used in a request"
87-
},
8883
{
8984
"name": "amazonqTimeToLoadHistory",
9085
"type": "int",
@@ -129,6 +124,11 @@
129124
],
130125
"description": "The current state of the App Runner service"
131126
},
127+
{
128+
"name": "artifactType",
129+
"type": "string",
130+
"description": "type of artifact used in a request"
131+
},
132132
{
133133
"name": "artifactsUploadDuration",
134134
"type": "int",
@@ -2677,7 +2677,7 @@
26772677
},
26782678
{
26792679
"name": "amazonq_codeReviewTool",
2680-
"description": "Parent metric name for the code review tool.",
2680+
"description": "This metric is used to evaluate Amazon Q's code review tool",
26812681
"metadata": [
26822682
{
26832683
"type": "artifactType",
@@ -2691,10 +2691,6 @@
26912691
"type": "codewhispererCodeScanSrcZipFileBytes",
26922692
"required": false
26932693
},
2694-
{
2695-
"type": "codewhispererCodeScanScope",
2696-
"required": false
2697-
},
26982694
{
26992695
"type": "codewhispererCodeScanTotalIssues",
27002696
"required": false
@@ -2713,6 +2709,10 @@
27132709
},
27142710
{
27152711
"type": "result"
2712+
},
2713+
{
2714+
"type": "scope",
2715+
"required": false
27162716
}
27172717
]
27182718
},
@@ -5869,7 +5869,14 @@
58695869
},
58705870
{
58715871
"type": "codewhispererCodeScanScope",
5872-
"required": false
5872+
"required": false,
5873+
"description": "The scope of the security scan being performed",
5874+
"allowedValues": [
5875+
"FILE",
5876+
"FILE_AUTO",
5877+
"FILE_ON_DEMAND",
5878+
"PROJECT"
5879+
]
58735880
},
58745881
{
58755882
"type": "codewhispererCodeScanSrcPayloadBytes"

0 commit comments

Comments
 (0)