|
178 | 178 | "type": "int", |
179 | 179 | "description": "The amount of time required for the build to complete (in seconds)." |
180 | 180 | }, |
| 181 | + { |
| 182 | + "name": "buildStatus", |
| 183 | + "type": "string", |
| 184 | + "allowedValues": [ |
| 185 | + "SUCCESS", |
| 186 | + "FAILED", |
| 187 | + "CANCELLED" |
| 188 | + ], |
| 189 | + "description": "The amount of time required for the build to complete (in seconds)." |
| 190 | + }, |
181 | 191 | { |
182 | 192 | "name": "buildSystemVersion", |
183 | 193 | "type": "string", |
|
1412 | 1422 | ], |
1413 | 1423 | "description": "The Lambda Package type of the function" |
1414 | 1424 | }, |
| 1425 | + { |
| 1426 | + "name": "latencyOfClientSideBuild", |
| 1427 | + "type": "int", |
| 1428 | + "description": "Time from start to end of Client-side build." |
| 1429 | + }, |
| 1430 | + { |
| 1431 | + "name": "latencyOfGeneratingTests", |
| 1432 | + "type": "int", |
| 1433 | + "description": "Time from start to end of Generating unit tests" |
| 1434 | + }, |
1415 | 1435 | { |
1416 | 1436 | "name": "language", |
1417 | 1437 | "type": "string", |
1418 | 1438 | "description": "Language used for the project." |
1419 | 1439 | }, |
| 1440 | + { |
| 1441 | + "name": "linesOfCodeGenerated", |
| 1442 | + "type": "int", |
| 1443 | + "description": "Number of lines of code generated" |
| 1444 | + }, |
| 1445 | + { |
| 1446 | + "name": "linesOfCodeAccepted", |
| 1447 | + "type": "int", |
| 1448 | + "description": "Number of lines of code accepted" |
| 1449 | + }, |
| 1450 | + { |
| 1451 | + "name": "charsOfCodeGenerated", |
| 1452 | + "type": "int", |
| 1453 | + "description": "Number of characters of code generated" |
| 1454 | + }, |
| 1455 | + { |
| 1456 | + "name": "charsOfCodeAccepted", |
| 1457 | + "type": "int", |
| 1458 | + "description": "Number of characters of code accepted" |
| 1459 | + }, |
1420 | 1460 | { |
1421 | 1461 | "name": "loadFileTime", |
1422 | 1462 | "type": "int", |
|
1457 | 1497 | "type": "int", |
1458 | 1498 | "description": "Number of generations before the user accepted or rejected" |
1459 | 1499 | }, |
| 1500 | + { |
| 1501 | + "name": "numberOfBuildExecuted", |
| 1502 | + "type": "int", |
| 1503 | + "description": "Number of build executed in unit test generation build loop" |
| 1504 | + }, |
| 1505 | + { |
| 1506 | + "name": "numberOfBuildFailed", |
| 1507 | + "type": "int", |
| 1508 | + "description": "Number of build failures in unit test generation build loop" |
| 1509 | + }, |
| 1510 | + { |
| 1511 | + "name": "numberOfBuildPassed", |
| 1512 | + "type": "int", |
| 1513 | + "description": "Number of build succeeded in unit test generation build loop" |
| 1514 | + }, |
| 1515 | + { |
| 1516 | + "name": "numberOfUnitTestCasesGenerated", |
| 1517 | + "type": "int", |
| 1518 | + "description": "Number of unit test cases generated" |
| 1519 | + }, |
| 1520 | + { |
| 1521 | + "name": "numberOfUnitTestCasesAccepted", |
| 1522 | + "type": "int", |
| 1523 | + "description": "Number of unit test cases accepted" |
| 1524 | + }, |
1460 | 1525 | { |
1461 | 1526 | "name": "oldVersion", |
1462 | 1527 | "type": "string", |
|
1675 | 1740 | "type": "int", |
1676 | 1741 | "description": "The number of successful operations" |
1677 | 1742 | }, |
| 1743 | + { |
| 1744 | + "name": "supportedLanguage", |
| 1745 | + "type": "boolean", |
| 1746 | + "description": "supported language" |
| 1747 | + }, |
1678 | 1748 | { |
1679 | 1749 | "name": "syncedResources", |
1680 | 1750 | "type": "string", |
|
1694 | 1764 | "type": "string", |
1695 | 1765 | "description": "Generic name of a template" |
1696 | 1766 | }, |
| 1767 | + { |
| 1768 | + "name": "testGenerationJobGroupName", |
| 1769 | + "type": "string", |
| 1770 | + "description": "Unit test generation job group name" |
| 1771 | + }, |
| 1772 | + { |
| 1773 | + "name": "testGenerationJobId", |
| 1774 | + "type": "string", |
| 1775 | + "description": "Unit test generation job id" |
| 1776 | + }, |
1697 | 1777 | { |
1698 | 1778 | "name": "toolId", |
1699 | 1779 | "type": "string", |
|
1732 | 1812 | "type": "string", |
1733 | 1813 | "description": "User selection from a predefined menu (not user-provided input). See also `action`." |
1734 | 1814 | }, |
| 1815 | + { |
| 1816 | + "name": "unitTestGenerationBuildPayloadBytes", |
| 1817 | + "type": "int", |
| 1818 | + "description": "The uncompressed payload size in bytes of the source files in customer project context sent for unit test generation" |
| 1819 | + }, |
| 1820 | + { |
| 1821 | + "name": "unitTestGenerationBuildZipFileBytes", |
| 1822 | + "type": "int", |
| 1823 | + "description": "The compressed payload size of source files in bytes of customer project context sent for unit test generation" |
| 1824 | + }, |
| 1825 | + { |
| 1826 | + "name": "userEnteredPromptMessage", |
| 1827 | + "type": "boolean", |
| 1828 | + "description": "True if user enter prompt message as input else false" |
| 1829 | + }, |
1735 | 1830 | { |
1736 | 1831 | "name": "userId", |
1737 | 1832 | "type": "string", |
|
2214 | 2309 | } |
2215 | 2310 | ] |
2216 | 2311 | }, |
| 2312 | + { |
| 2313 | + "name": "amazonq_unitTestGeneration", |
| 2314 | + "description": "Client side metrics of AmazonQ Unit Test Generation", |
| 2315 | + "metadata": [ |
| 2316 | + { |
| 2317 | + "type": "credentialStartUrl", |
| 2318 | + "required": false |
| 2319 | + }, |
| 2320 | + { |
| 2321 | + "type": "cwsprChatProgrammingLanguage" |
| 2322 | + }, |
| 2323 | + { |
| 2324 | + "type": "supportedLanguage" |
| 2325 | + }, |
| 2326 | + { |
| 2327 | + "type": "userEnteredPromptMessage" |
| 2328 | + }, |
| 2329 | + { |
| 2330 | + "type": "testGenerationJobGroupName", |
| 2331 | + "required": false |
| 2332 | + }, |
| 2333 | + { |
| 2334 | + "type": "linesOfCodeAccepted", |
| 2335 | + "required": false |
| 2336 | + }, |
| 2337 | + { |
| 2338 | + "type": "linesOfCodeGenerated", |
| 2339 | + "required": false |
| 2340 | + }, |
| 2341 | + { |
| 2342 | + "type": "charsOfCodeAccepted", |
| 2343 | + "required": false |
| 2344 | + }, |
| 2345 | + { |
| 2346 | + "type": "charsOfCodeGenerated", |
| 2347 | + "required": false |
| 2348 | + }, |
| 2349 | + { |
| 2350 | + "type": "numberOfUnitTestCasesAccepted", |
| 2351 | + "required": false |
| 2352 | + }, |
| 2353 | + { |
| 2354 | + "type": "numberOfUnitTestCasesGenerated", |
| 2355 | + "required": false |
| 2356 | + }, |
| 2357 | + { |
| 2358 | + "type": "numberOfBuildExecuted", |
| 2359 | + "required": false |
| 2360 | + }, |
| 2361 | + { |
| 2362 | + "type": "numberOfBuildFailed", |
| 2363 | + "required": false |
| 2364 | + }, |
| 2365 | + { |
| 2366 | + "type": "numberOfBuildPassed", |
| 2367 | + "required": false |
| 2368 | + } |
| 2369 | + ] |
| 2370 | + }, |
| 2371 | + { |
| 2372 | + "name": "amazonq_utg_generateTests", |
| 2373 | + "description": "Client side invocation of the AmazonQ Unit Test Generation", |
| 2374 | + "metadata": [ |
| 2375 | + { |
| 2376 | + "type": "artifactsUploadDuration", |
| 2377 | + "required": false |
| 2378 | + }, |
| 2379 | + { |
| 2380 | + "type": "charsOfCodeGenerated", |
| 2381 | + "required": false |
| 2382 | + }, |
| 2383 | + { |
| 2384 | + "type": "charsOfCodeAccepted", |
| 2385 | + "required": false |
| 2386 | + }, |
| 2387 | + { |
| 2388 | + "type": "credentialStartUrl", |
| 2389 | + "required": false |
| 2390 | + }, |
| 2391 | + { |
| 2392 | + "type": "cwsprChatProgrammingLanguage" |
| 2393 | + }, |
| 2394 | + { |
| 2395 | + "type": "latencyOfGeneratingTests", |
| 2396 | + "required": false |
| 2397 | + }, |
| 2398 | + { |
| 2399 | + "type": "linesOfCodeAccepted", |
| 2400 | + "required": false |
| 2401 | + }, |
| 2402 | + { |
| 2403 | + "type": "linesOfCodeGenerated", |
| 2404 | + "required": false |
| 2405 | + }, |
| 2406 | + { |
| 2407 | + "type": "numberOfUnitTestCasesAccepted", |
| 2408 | + "required": false |
| 2409 | + }, |
| 2410 | + { |
| 2411 | + "type": "numberOfUnitTestCasesGenerated", |
| 2412 | + "required": false |
| 2413 | + }, |
| 2414 | + { |
| 2415 | + "type": "source", |
| 2416 | + "required": false |
| 2417 | + }, |
| 2418 | + { |
| 2419 | + "type": "supportedLanguage" |
| 2420 | + }, |
| 2421 | + { |
| 2422 | + "type": "testGenerationJobGroupName", |
| 2423 | + "required": false |
| 2424 | + }, |
| 2425 | + { |
| 2426 | + "type": "testGenerationJobId", |
| 2427 | + "required": false |
| 2428 | + }, |
| 2429 | + { |
| 2430 | + "type": "userEnteredPromptMessage" |
| 2431 | + }, |
| 2432 | + { |
| 2433 | + "type": "unitTestGenerationBuildPayloadBytes", |
| 2434 | + "required": false |
| 2435 | + }, |
| 2436 | + { |
| 2437 | + "type": "unitTestGenerationBuildZipFileBytes", |
| 2438 | + "required": false |
| 2439 | + } |
| 2440 | + ] |
| 2441 | + }, |
| 2442 | + { |
| 2443 | + "name": "amazonq_utg_buildLoop", |
| 2444 | + "description": "Client side invocation of the AmazonQ Unit Test Generation build loop", |
| 2445 | + "metadata": [ |
| 2446 | + { |
| 2447 | + "type": "buildStatus", |
| 2448 | + "required": false |
| 2449 | + }, |
| 2450 | + { |
| 2451 | + "type": "credentialStartUrl", |
| 2452 | + "required": false |
| 2453 | + }, |
| 2454 | + { |
| 2455 | + "type": "cwsprChatProgrammingLanguage" |
| 2456 | + }, |
| 2457 | + { |
| 2458 | + "type": "latencyOfClientSideBuild", |
| 2459 | + "required": false |
| 2460 | + }, |
| 2461 | + { |
| 2462 | + "type": "source", |
| 2463 | + "required": false |
| 2464 | + }, |
| 2465 | + { |
| 2466 | + "type": "supportedLanguage" |
| 2467 | + }, |
| 2468 | + { |
| 2469 | + "type": "testGenerationJobGroupName", |
| 2470 | + "required": false |
| 2471 | + }, |
| 2472 | + { |
| 2473 | + "type": "testGenerationJobId", |
| 2474 | + "required": false |
| 2475 | + }, |
| 2476 | + { |
| 2477 | + "type": "userEnteredPromptMessage" |
| 2478 | + } |
| 2479 | + ] |
| 2480 | + }, |
2217 | 2481 | { |
2218 | 2482 | "name": "amazonq_viewChatPanel", |
2219 | 2483 | "description": "Captures if Q chat panel is successfully viewed or not", |
|
6997 | 7261 | "metadata": [ |
6998 | 7262 | { |
6999 | 7263 | "type": "elementId" |
| 7264 | + }, |
| 7265 | + { |
| 7266 | + "type": "step", |
| 7267 | + "required": false |
7000 | 7268 | } |
7001 | 7269 | ] |
7002 | 7270 | }, |
|
0 commit comments