Skip to content

Commit

Permalink
telemetry(amazonq): source folder modification #731
Browse files Browse the repository at this point in the history
amazonq_modifySourceFolder can happen on different steps of our process,
whenever we upload the repo to our backend (that happens at least once before
planning the execution, and once more for each code generation requested).

It's not triggered by the user on-demand; only when we think the repo is too
large and a sub-folder should be selected. We display the button and want to
capture the action of the user clicking it.

While the field could be added as a userHasModifiedSourceFolder boolean of our
amazonq_uploadRepo and amazonq_GenerateCode metrics, the idea was to have
a specific metric indicating that the button was clicked (and also to have an
easier way to visualize it instead of searching for other metrics that have this
property set).
  • Loading branch information
sannicm authored May 13, 2024
1 parent 4a027e9 commit b32fc9f
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1598,6 +1598,19 @@
}
]
},
{
"name": "amazonq_modifySourceFolder",
"description": "User modified source folder",
"metadata": [
{
"type": "amazonqConversationId"
},
{
"type": "credentialStartUrl",
"required": false
}
]
},
{
"name": "amazonq_startConversationInvoke",
"description": "Captures startConversation invocation process",
Expand Down Expand Up @@ -5740,4 +5753,4 @@
]
}
]
}
}

0 comments on commit b32fc9f

Please sign in to comment.