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

Feature/amazon q ga updates #724

Closed
wants to merge 24 commits into from
Closed
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
d36a467
Feature - add shared telemetry metrics for AmazonQ Transform
Dec 5, 2023
e6197ca
Chore - remove type codeTransformConfigurationFilePath
Dec 5, 2023
66ae21f
Chore - update metric description definitions text
Dec 5, 2023
088e482
Chore - remove isVisibleToUser field
Dec 5, 2023
a16a54d
Chore - add newline character to file
Dec 5, 2023
c24e11a
Chore - update description for total runtime
Dec 5, 2023
a43ecff
Chore - fix build isssue to replace allowedValues spaces with undersc…
Dec 5, 2023
76c203a
Chore - follow up with jetbrains underscore conversion
Dec 5, 2023
56a25fe
Merge branch 'main' of github.com:damntrecky/aws-toolkit-common
Dec 11, 2023
60775f7
Merge remote-tracking branch 'upstream/main'
Dec 11, 2023
7d84246
Merge remote-tracking branch 'upstream/main'
Dec 13, 2023
7d5ffe9
Merge remote-tracking branch 'upstream/main'
Jan 24, 2024
a75afa0
Merge remote-tracking branch 'upstream/main'
Jan 30, 2024
6b4e412
Merge remote-tracking branch 'upstream/main'
Feb 1, 2024
fa5a729
Merge remote-tracking branch 'upstream/main'
Feb 7, 2024
57811b7
Merge remote-tracking branch 'upstream/main'
Feb 17, 2024
fc1d614
Chore - add chat prompt to start src components
Feb 17, 2024
6b69a7e
Merge remote-tracking branch 'upstream/main'
Mar 21, 2024
b9f8741
Chore - add passive attribute to projectDetails logging
Mar 21, 2024
01b2f15
Merge remote-tracking branch 'upstream/main'
Mar 28, 2024
d54f459
Merge remote-tracking branch 'upstream/main'
Apr 2, 2024
6f2fc70
Merge remote-tracking branch 'upstream/main'
Apr 19, 2024
41692a6
Chore - add new api definition to allowed values
Apr 19, 2024
e548774
Feature - add codetransform metadata field
Apr 22, 2024
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
165 changes: 165 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@
"type": "string",
"description": "Names of allowed API calls",
"allowedValues": [
"ResumeTransformation",
"StartTransformation",
"StopTransformation",
"GetTransformation",
Expand Down Expand Up @@ -352,6 +353,11 @@
"treeViewHeader"
]
},
{
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is new

"name": "codeTransformMetadata",
"type": "string",
"description": "A general field for logging metadata associated to Amazon Q transform metrics."
},
{
"name": "codewhispererAcceptedTokens",
"type": "int",
Expand Down Expand Up @@ -1311,6 +1317,147 @@
"type": "string",
"description": "A token used for flow metrics to link calls together"
},
{
"name": "codeTransformJobId",
"type": "string",
"description": "The ID of the job currently running"
},
{
"name": "codeTransformStatus",
"type": "string",
"description": "The current transformation job's status"
},
{
"name": "codeTransformRequestId",
"type": "string",
"description": "The API request ID"
},
{
"name": "codeTransformTotalByteSize",
"type": "int",
"description": "The byte size of the upload or download."
},
{
"name": "codeTransformUploadId",
"type": "string",
"description": "A unique upload ID for S3"
},
{
"name": "codeTransformResultStatusMessage",
"type": "string",
"description": "The outcome of the transformation"
},
{
"name": "codeTransformLocalJavaVersion",
"type": "string",
"description": "The Java version on the user's machine"
},
{
"name": "codeTransformLocalMavenVersion",
"type": "string",
"description": "The Maven version on the user's machine"
},
{
"name": "codeTransformRuntimeError",
"type": "string",
"description": "Any runtime errors"
},
{
"name": "codeTransformApiErrorMessage",
"type": "string",
"description": "Any API-specific errors"
},
{
"name": "codeTransformSessionId",
"type": "string",
"description": "Represents the IDE session from which users start the transformation process"
},
{
"name": "codeTransformRunTimeLatency",
"type": "int",
"description": "A millisecond value of the total run time"
},
{
"name": "codeTransformStartSrcComponents",
"type": "string",
"description": "Names of components that can start a transformation",
"allowedValues": [
"devToolsStartButton",
"bottomPanelSideNavButton",
"chatPrompt"
]
},
{
"name": "codeTransformCancelSrcComponents",
"type": "string",
"description": "Names of components that can cancel a transformation",
"allowedValues": [
"apiError",
"loadingPanelStopButton",
"devToolsStopButton",
"bottomPanelSideNavButton"
]
},
{
"name": "codeTransformVCSViewerSrcComponents",
"type": "string",
"description": "Names of components that can initiate the diff viewer",
"allowedValues": [
"toastNotification",
"treeView",
"treeViewHeader"
]
},
{
"name": "codeTransformPatchViewerCancelSrcComponents",
"type": "string",
"description": "Names of components that can cancel the diff viewer",
"allowedValues": [
"apiError",
"cancelButton"
]
},
{
"name": "codeTransformApiNames",
"type": "string",
"description": "Names of allowed API calls",
"allowedValues": [
"StartTransformation",
"StopTransformation",
"GetTransformation",
"GetTransformationPlan",
"UploadZip",
"CreateUploadUrl",
"ExportResultArchive"
]
},
{
"name": "codeTransformPreValidationError",
"type": "string",
"description": "Names of the pre-validation errors that can occur",
"allowedValues": [
"NoPom",
"NoJavaProject",
"MixedLanguages",
"UnsupportedJavaVersion",
"ProjectJDKDiffersFromMavenJDK",
"NonMavenProject",
"EmptyProject",
"NonSsoLogin",
"RemoteRunProject"
]
},
{
"name": "codeTransformMavenBuildCommand",
"type": "string",
"description": "Type of maven command",
"allowedValues": [
"mvnw.cmd",
"mvnw",
"mvn",
"IDEBundledMaven"
]
},
{
"name": "xrayEnabled",
"type": "boolean",
Expand Down Expand Up @@ -3146,6 +3293,24 @@
}
]
},
{
"name": "codeTransform_humanInTheLoop",
"description": "An interactivity measured when a pause state is enabled that requires human interaction.",
"metadata": [
{
"type": "codeTransformJobId",
"required": false
},
{
"type": "codeTransformSessionId",
"required": true
},
{
"type": "codeTransformMetadata",
"required": true
}
]
},
{
"name": "codewhisperer_blockedInvocation",
"description": "Client side invocation blocked by another invocation in progress",
Expand Down
Loading