-
Notifications
You must be signed in to change notification settings - Fork 61
telemetry: Metrics for amazonq unit test generation #905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 11 commits
9c158f3
e0452fc
dddb602
23f8653
027ad72
44dfd00
ccd1f70
e592ced
1f192b4
6c71a1a
f514400
050008d
758dd96
21c835e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,5 +1,10 @@ | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "types": [ | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "acceptedCount", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "The number of accepted cases" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "action", | ||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
|
|
@@ -199,6 +204,16 @@ | |||||||||||||||||||||||||
| "type": "boolean", | ||||||||||||||||||||||||||
| "description": "Boolean value of whether or not a Cfn parameter file is provided." | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "charsOfCodeAccepted", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "Number of characters of code accepted" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "charsOfCodeGenerated", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "Number of characters of code generated" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "checkType", | ||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
|
|
@@ -1207,6 +1222,11 @@ | |||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
| "description": "The name of the EventBridge Schema used in the operation" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "executedCount", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "The number of executed operations" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "experimentId", | ||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
|
|
@@ -1273,6 +1293,11 @@ | |||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
| "description": "Application framework being used" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "generatedCount", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "The number of generated cases" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "generateFailure", | ||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
|
|
@@ -1417,6 +1442,26 @@ | |||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
| "description": "Language used for the project." | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "latencyOfClientSideBuild", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "Time from start to end of Client-side build." | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "latencyOfGeneratingTests", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "Time from start to end of Generating unit tests" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "linesOfCodeAccepted", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "Number of lines of code accepted" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "linesOfCodeGenerated", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "Number of lines of code generated" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "loadFileTime", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
|
|
@@ -1670,11 +1715,21 @@ | |||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
| "description": "Date/time that an SSO client registration expires." | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "step", | ||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
| "description": "Indicates the stage at which a user interface click action was performed." | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "successCount", | ||||||||||||||||||||||||||
| "type": "int", | ||||||||||||||||||||||||||
| "description": "The number of successful operations" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "supportedLanguage", | ||||||||||||||||||||||||||
| "type": "boolean", | ||||||||||||||||||||||||||
| "description": "supported language" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "syncedResources", | ||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
|
|
@@ -1694,6 +1749,16 @@ | |||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
| "description": "Generic name of a template" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "testGenerationJobGroupName", | ||||||||||||||||||||||||||
| "type": "string", | ||||||||||||||||||||||||||
| "description": "Unit test generation job group name" | ||||||||||||||||||||||||||
| }, | ||||||||||||||||||||||||||
| { | ||||||||||||||||||||||||||
| "name": "testGenerationJobId", | ||||||||||||||||||||||||||
|
||||||||||||||||||||||||||
| "name": "testGenerationJobGroupName", | |
| "type": "string", | |
| "description": "Unit test generation job group name" | |
| }, | |
| { | |
| "name": "testGenerationJobId", | |
| "name": "jobGroup", | |
| "type": "string", | |
| "description": "Job group name associated with the metric" | |
| }, | |
| { | |
| "name": "jobId", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will update with this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do you really need to track chars and lines? how is that the existing codewhisperer metrics don't already have fields for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They are using
cwsprChatAcceptedNumberOfLineswhich is specific name not generic but trying to use the same.