Skip to content

Commit

Permalink
feat(amazonq): Add credential start url for amazonq events (#701)
Browse files Browse the repository at this point in the history
add credential start url for amazonq
  • Loading branch information
leigaol authored Feb 20, 2024
1 parent f6f6778 commit 2b009d8
Showing 1 changed file with 47 additions and 12 deletions.
59 changes: 47 additions & 12 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -2803,7 +2803,8 @@
"description": "Captures end of the conversation with amazonq /dev",
"metadata": [
{ "type": "amazonqConversationId" },
{ "type": "amazonqEndOfTheConversationLatency", "required": false }
{ "type": "amazonqEndOfTheConversationLatency", "required": false },
{ "type": "credentialStartUrl", "required": false }
]
},
{
Expand All @@ -2812,27 +2813,36 @@
"metadata": [
{ "type": "amazonqConversationId" },
{ "type": "amazonqGenerateApproachIteration" },
{ "type": "amazonqGenerateApproachLatency" }
{ "type": "amazonqGenerateApproachLatency" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_startConversationInvoke",
"description": "Captures startConversation invocation process",
"metadata": [{ "type": "amazonqConversationId", "required": false }]
"metadata": [
{ "type": "amazonqConversationId", "required": false },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_createUpload",
"description": "Captures createUploadUrl invocation process",
"metadata": [
{ "type": "amazonqConversationId" },
{ "type": "amazonqRepositorySize", "required": false },
{ "type": "credentialStartUrl", "required": false },
{ "type": "amazonqUploadIntent", "required": false }
]
},
{
"name": "amazonq_isApproachAccepted",
"description": "User has accepted the approach generated",
"metadata": [{ "type": "enabled" }, { "type": "amazonqConversationId" }]
"metadata": [
{ "type": "enabled" },
{ "type": "amazonqConversationId" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_codeGenerationInvoke",
Expand All @@ -2844,48 +2854,73 @@
{ "type": "amazonqCodeGenerationResult" },
{ "type": "amazonqNumberOfFilesGenerated", "required": false },
{ "type": "amazonqRepositorySize" },
{ "type": "amazonqNumberOfReferences", "required": false }
{ "type": "amazonqNumberOfReferences", "required": false },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_isAcceptedCodeChanges",
"description": "User applied code changes generated for the task.",
"metadata": [{ "type": "enabled" }, { "type": "amazonqConversationId" }]
"metadata": [
{ "type": "enabled" },
{ "type": "amazonqConversationId" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_isProvideFeedbackForCodeGen",
"description": "User asked to regenerate code generation with a comment",
"metadata": [{ "type": "enabled" }, { "type": "amazonqConversationId" }]
"metadata": [
{ "type": "enabled" },
{ "type": "amazonqConversationId" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_isReviewedChanges",
"description": "User reviewed changes",
"passive": true,
"metadata": [{ "type": "enabled" }, { "type": "amazonqConversationId" }]
"metadata": [
{ "type": "enabled" },
{ "type": "amazonqConversationId" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_codeGenerationThumbsUp",
"description": "User clicked on the thumbs up button to say that they are unsatisfied",
"unit": "Count",
"metadata": [{ "type": "amazonqConversationId" }]
"metadata": [
{ "type": "amazonqConversationId" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_codeGenerationThumbsDown",
"description": "User clicked on the thumbs down button to say that they are unsatisfied",
"unit": "Count",
"metadata": [{ "type": "amazonqConversationId" }]
"metadata": [
{ "type": "amazonqConversationId" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_approachThumbsUp",
"description": "User clicked on the thumbs up button, to mention that they are satisfied",
"unit": "Count",
"metadata": [{ "type": "amazonqConversationId" }]
"metadata": [
{ "type": "amazonqConversationId" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "amazonq_approachThumbsDown",
"description": "User clicked on the thumbs down button to say that they are unsatisfied",
"unit": "Count",
"metadata": [{ "type": "amazonqConversationId" }]
"metadata": [
{ "type": "amazonqConversationId" },
{ "type": "credentialStartUrl", "required": false }
]
},
{
"name": "codewhisperer_codePercentage",
Expand Down

0 comments on commit 2b009d8

Please sign in to comment.