Skip to content

Commit b32fc9f

Browse files
authored
telemetry(amazonq): source folder modification #731
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).
1 parent 4a027e9 commit b32fc9f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1598,6 +1598,19 @@
15981598
}
15991599
]
16001600
},
1601+
{
1602+
"name": "amazonq_modifySourceFolder",
1603+
"description": "User modified source folder",
1604+
"metadata": [
1605+
{
1606+
"type": "amazonqConversationId"
1607+
},
1608+
{
1609+
"type": "credentialStartUrl",
1610+
"required": false
1611+
}
1612+
]
1613+
},
16011614
{
16021615
"name": "amazonq_startConversationInvoke",
16031616
"description": "Captures startConversation invocation process",
@@ -5740,4 +5753,4 @@
57405753
]
57415754
}
57425755
]
5743-
}
5756+
}

0 commit comments

Comments
 (0)