Skip to content

Commit 050008d

Browse files
committed
Addressing comments
1 parent f514400 commit 050008d

File tree

1 file changed

+45
-65
lines changed

1 file changed

+45
-65
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 45 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,16 @@
183183
"type": "int",
184184
"description": "The amount of time required for the build to complete (in seconds)."
185185
},
186+
{
187+
"name": "buildPayloadBytes",
188+
"type": "int",
189+
"description": "The uncompressed payload size in bytes of the source files in customer project context"
190+
},
191+
{
192+
"name": "buildZipFileBytes",
193+
"type": "int",
194+
"description": "The compressed payload size of source files in bytes of customer project context sent"
195+
},
186196
{
187197
"name": "buildSystemVersion",
188198
"type": "string",
@@ -1452,16 +1462,6 @@
14521462
"type": "int",
14531463
"description": "Time from start to end of Generating unit tests"
14541464
},
1455-
{
1456-
"name": "linesOfCodeAccepted",
1457-
"type": "int",
1458-
"description": "Number of lines of code accepted"
1459-
},
1460-
{
1461-
"name": "linesOfCodeGenerated",
1462-
"type": "int",
1463-
"description": "Number of lines of code generated"
1464-
},
14651465
{
14661466
"name": "loadFileTime",
14671467
"type": "int",
@@ -1726,7 +1726,7 @@
17261726
"description": "The number of successful operations"
17271727
},
17281728
{
1729-
"name": "supportedLanguage",
1729+
"name": "isSupportedLanguage",
17301730
"type": "boolean",
17311731
"description": "supported language"
17321732
},
@@ -1749,16 +1749,6 @@
17491749
"type": "string",
17501750
"description": "Generic name of a template"
17511751
},
1752-
{
1753-
"name": "testGenerationJobGroupName",
1754-
"type": "string",
1755-
"description": "Unit test generation job group name"
1756-
},
1757-
{
1758-
"name": "testGenerationJobId",
1759-
"type": "string",
1760-
"description": "Unit test generation job id"
1761-
},
17621752
{
17631753
"name": "toolId",
17641754
"type": "string",
@@ -1782,16 +1772,6 @@
17821772
"type": "string",
17831773
"description": "Unique identifier for the trace (a set of events) this metric belongs to"
17841774
},
1785-
{
1786-
"name": "unitTestGenerationBuildPayloadBytes",
1787-
"type": "int",
1788-
"description": "The uncompressed payload size in bytes of the source files in customer project context sent for unit test generation"
1789-
},
1790-
{
1791-
"name": "unitTestGenerationBuildZipFileBytes",
1792-
"type": "int",
1793-
"description": "The compressed payload size of source files in bytes of customer project context sent for unit test generation"
1794-
},
17951775
{
17961776
"name": "update",
17971777
"type": "boolean",
@@ -2302,6 +2282,10 @@
23022282
"type": "acceptedCount",
23032283
"required": false
23042284
},
2285+
{
2286+
"type": "acceptedLinesCount",
2287+
"required": false
2288+
},
23052289
{
23062290
"type": "charsOfCodeAccepted",
23072291
"required": false
@@ -2330,22 +2314,18 @@
23302314
"required": false
23312315
},
23322316
{
2333-
"type": "linesOfCodeAccepted",
2317+
"type": "generatedLinesCount",
23342318
"required": false
23352319
},
23362320
{
2337-
"type": "linesOfCodeGenerated",
2338-
"required": false
2321+
"type": "isSupportedLanguage"
23392322
},
23402323
{
2341-
"type": "successCount",
2324+
"type": "jobGroup",
23422325
"required": false
23432326
},
23442327
{
2345-
"type": "supportedLanguage"
2346-
},
2347-
{
2348-
"type": "testGenerationJobGroupName",
2328+
"type": "successCount",
23492329
"required": false
23502330
},
23512331
{
@@ -2357,6 +2337,10 @@
23572337
"name": "amazonq_utg_buildLoop",
23582338
"description": "Client side invocation of the AmazonQ Unit Test Generation build loop",
23592339
"metadata": [
2340+
{
2341+
"type": "codewhispererEndToEndLatency",
2342+
"required": false
2343+
},
23602344
{
23612345
"type": "credentialStartUrl",
23622346
"required": false
@@ -2365,26 +2349,22 @@
23652349
"type": "cwsprChatProgrammingLanguage"
23662350
},
23672351
{
2368-
"type": "latencyOfClientSideBuild",
2369-
"required": false
2352+
"type": "isSupportedLanguage"
23702353
},
23712354
{
2372-
"type": "result",
2355+
"type": "jobGroup",
23732356
"required": false
23742357
},
23752358
{
2376-
"type": "source",
2359+
"type": "jobId",
23772360
"required": false
23782361
},
23792362
{
2380-
"type": "supportedLanguage"
2381-
},
2382-
{
2383-
"type": "testGenerationJobGroupName",
2363+
"type": "result",
23842364
"required": false
23852365
},
23862366
{
2387-
"type": "testGenerationJobId",
2367+
"type": "source",
23882368
"required": false
23892369
},
23902370
{
@@ -2401,61 +2381,61 @@
24012381
"required": false
24022382
},
24032383
{
2404-
"type": "artifactsUploadDuration",
2384+
"type": "acceptedLinesCount",
24052385
"required": false
24062386
},
24072387
{
2408-
"type": "charsOfCodeAccepted",
2388+
"type": "artifactsUploadDuration",
24092389
"required": false
24102390
},
24112391
{
2412-
"type": "charsOfCodeGenerated",
2392+
"type": "buildPayloadBytes",
24132393
"required": false
24142394
},
24152395
{
2416-
"type": "credentialStartUrl",
2396+
"type": "buildZipFileBytes",
24172397
"required": false
24182398
},
24192399
{
2420-
"type": "cwsprChatProgrammingLanguage"
2400+
"type": "charsOfCodeAccepted",
2401+
"required": false
24212402
},
24222403
{
2423-
"type": "generatedCount",
2404+
"type": "charsOfCodeGenerated",
24242405
"required": false
24252406
},
24262407
{
2427-
"type": "latencyOfGeneratingTests",
2408+
"type": "codewhispererEndToEndLatency",
24282409
"required": false
24292410
},
24302411
{
2431-
"type": "linesOfCodeAccepted",
2412+
"type": "credentialStartUrl",
24322413
"required": false
24332414
},
24342415
{
2435-
"type": "linesOfCodeGenerated",
2436-
"required": false
2416+
"type": "cwsprChatProgrammingLanguage"
24372417
},
24382418
{
2439-
"type": "source",
2419+
"type": "generatedCount",
24402420
"required": false
24412421
},
24422422
{
2443-
"type": "supportedLanguage"
2423+
"type": "generatedLinesCount",
2424+
"required": false
24442425
},
24452426
{
2446-
"type": "testGenerationJobGroupName",
2447-
"required": false
2427+
"type": "isSupportedLanguage"
24482428
},
24492429
{
2450-
"type": "testGenerationJobId",
2430+
"type": "jobGroup",
24512431
"required": false
24522432
},
24532433
{
2454-
"type": "unitTestGenerationBuildPayloadBytes",
2434+
"type": "jobId",
24552435
"required": false
24562436
},
24572437
{
2458-
"type": "unitTestGenerationBuildZipFileBytes",
2438+
"type": "source",
24592439
"required": false
24602440
},
24612441
{

0 commit comments

Comments
 (0)