-
Notifications
You must be signed in to change notification settings - Fork 754
telemetry(amazonq): createUpload metric for scans #6715
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 2 commits
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 |
|---|---|---|
|
|
@@ -410,6 +410,17 @@ | |
| "name": "executedCount", | ||
| "type": "int", | ||
| "description": "The number of executed operations" | ||
| }, | ||
| { | ||
| "name": "amazonqUploadIntent", | ||
| "type": "string", | ||
| "description": "The intent of the upload", | ||
| "allowedValues": [ | ||
| "TRANSFORMATION", | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nit: Can you add
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. NVM, I will make change for UTG. |
||
| "TASK_ASSIST_PLANNING", | ||
| "AUTOMATIC_FILE_SECURITY_SCAN", | ||
| "FULL_PROJECT_SECURITY_SCAN" | ||
| ] | ||
| } | ||
| ], | ||
| "metrics": [ | ||
|
|
@@ -1166,9 +1177,33 @@ | |
| "type": "amazonqRepositorySize", | ||
| "required": false | ||
| }, | ||
| { | ||
| "type": "amazonqUploadIntent", | ||
| "required": false | ||
| }, | ||
| { | ||
| "type": "credentialStartUrl", | ||
| "required": false | ||
| }, | ||
| { | ||
| "type": "duration", | ||
ctlai95 marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "required": false | ||
| }, | ||
| { | ||
| "type": "reason", | ||
| "required": false | ||
| }, | ||
| { | ||
| "type": "requestId", | ||
| "required": false | ||
| }, | ||
| { | ||
| "type": "requestServiceType", | ||
| "required": false | ||
| }, | ||
| { | ||
| "type": "result", | ||
| "required": false | ||
| } | ||
| ] | ||
| }, | ||
|
|
||
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.
Making this change to allow
requestIdandhttpStatusCodeto be set explicitly before thestopmethod is invoked. Otherwise it will silently get removed iferris not the correct format.