Skip to content
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

telemetry: add amazonq_utgGenerateTests metric with types #934

Merged
merged 2 commits into from
Dec 5, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
151 changes: 151 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1797,6 +1797,71 @@
"name": "xrayEnabled",
"type": "boolean",
"description": "Whether or not AWS X-Ray is enabled"
},
{
"name": "acceptedCharactersCount",
"type": "int",
"description": "The number of accepted characters"
},
{
"name": "acceptedCount",
"type": "int",
"description": "The number of accepted cases"
},
{
"name": "acceptedLinesCount",
"type": "int",
"description": "The number of accepted lines of code"
},
{
"name": "buildPayloadBytes",
"type": "int",
"description": "The uncompressed payload size in bytes of the source files in customer project context"
},
{
"name": "buildZipFileBytes",
"type": "int",
"description": "The compressed payload size of source files in bytes of customer project context sent"
},
{
"name": "generatedCharactersCount",
"type": "int",
"description": "Number of characters of code generated"
},
{
"name": "generatedCount",
"type": "int",
"description": "The number of generated cases"
},
{
"name": "generatedLinesCount",
"type": "int",
"description": "The number of generated lines of code"
},
{
"name": "hasUserPromptSupplied",
"type": "boolean",
"description": "True if user supplied prompt message as input else false"
},
{
"name": "isCodeBlockSelected",
"type": "boolean",
"description": "True if user selected code snippet as input else false"
},
{
"name": "isSupportedLanguage",
"type": "boolean",
"description": "Indicate if the language is supported"
},
{
"name": "jobGroup",
"type": "string",
"description": "Job group name used in the operation"
},
{
"name": "jobId",
"type": "string",
"description": "Job id used in the operation"
}
],
"metrics": [
Expand Down Expand Up @@ -7139,6 +7204,92 @@
"type": "result"
}
]
},
{
"name": "amazonq_utgGenerateTests",
"description": "Client side invocation of the AmazonQ Unit Test Generation",
"metadata": [
{
"type": "acceptedCharactersCount",
"required": false
},
{
"type": "acceptedCount",
"required": false
},
{
"type": "acceptedLinesCount",
"required": false
},
{
"type": "artifactsUploadDuration",
"required": false
},
{
"type": "buildPayloadBytes",
"required": false
},
{
"type": "buildZipFileBytes",
"required": false
},
{
"type": "credentialStartUrl",
"required": false
},
{
"type": "cwsprChatProgrammingLanguage"
},
{
"type": "generatedCharactersCount",
"required": false
},
{
"type": "generatedCount",
"required": false
},
{
"type": "generatedLinesCount",
"required": false
},
{
"type": "hasUserPromptSupplied"
},
{
"type": "isCodeBlockSelected",
"required": false
},
{
"type": "isSupportedLanguage"
},
{
"type": "jobGroup",
"required": false
},
{
"type": "jobId",
"required": false
},
{
"type": "perfClientLatency",
"required": false
},
{
"type": "result"
},
{
"type": "reason",
"required": false
},
{
"type": "reasonDesc",
"required": false
},
{
"type": "source",
"required": false
}
]
}
]
}
Loading