Skip to content

Commit

Permalink
telemetry(amazonq): add field for ZIP size, remove unused metrics #734
Browse files Browse the repository at this point in the history
Problem
Need to track the size of the upload ZIP even when the upload itself fails so we have some more info. Also had some metrics which were unused in both IDEs.

Solution
Add codeTransformTotalByteSize field to existing metric and remove unused metrics.
  • Loading branch information
dhasani23 authored May 17, 2024
1 parent 144fd51 commit 9987d3d
Showing 1 changed file with 4 additions and 44 deletions.
48 changes: 4 additions & 44 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2934,16 +2934,6 @@
],
"passive": true
},
{
"name": "codeTransform_configurationFileSelectedChanged",
"description": "Fire a change event when users select a new configuration/module file from the dropdown.",
"metadata": [
{
"type": "codeTransformSessionId",
"required": true
}
]
},
{
"name": "codeTransform_dependenciesCopied",
"description": "The repo copies over at least one dependency successfully.",
Expand Down Expand Up @@ -3006,20 +2996,6 @@
}
]
},
{
"name": "codeTransform_isDoubleClickedToTriggerUserModal",
"description": "The code transform button in the devtools to initiate the pre transform user modal window.",
"metadata": [
{
"type": "codeTransformSessionId",
"required": true
},
{
"type": "codeTransformStartSrcComponents",
"required": true
}
]
},
{
"name": "codeTransform_jobArtifactDownloadAndDeserializeTime",
"description": "A timestamp for when the job is ending download zip contents",
Expand Down Expand Up @@ -3064,16 +3040,6 @@
}
]
},
{
"name": "codeTransform_jobIsCanceledFromUserPopupClick",
"description": "The code transform button to initiate the pre transform user modal.",
"metadata": [
{
"type": "codeTransformSessionId",
"required": true
}
]
},
{
"name": "codeTransform_jobIsCancelledByUser",
"description": "After a job is running the user has the ability to cancel the job.",
Expand Down Expand Up @@ -3142,16 +3108,6 @@
}
]
},
{
"name": "codeTransform_jobIsStartedFromUserPopupClick",
"description": "The user initiates a transform job from the pre transform user modal window.",
"metadata": [
{
"type": "codeTransformSessionId",
"required": true
}
]
},
{
"name": "codeTransform_jobStartedCompleteFromPopupDialog",
"passive": true,
Expand Down Expand Up @@ -3222,6 +3178,10 @@
{
"type": "codeTransformSessionId",
"required": true
},
{
"type": "codeTransformTotalByteSize",
"required": false
}
]
},
Expand Down

0 comments on commit 9987d3d

Please sign in to comment.