Skip to content

Commit 9fc0c58

Browse files
authored
telemetry(AmazonQ): amazonq_feedback #969
## Problem - Missing generic feedback event for AmazonQ. ## Solution - Added generic`amazonq_feedback ` event for feedback for different features. ``` { "name": "amazonq_feedback", "description": "When a user gives feedback using vote or comment or rating in the conversation", "metadata": [ { "type": "amazonqConversationId", "required": false }, { "type": "credentialStartUrl", "required": false }, { "type": "featureId" }, { "type": "interactionType", "required": false } ] }, ``` - `featureId` can be amazonQTest/amazonQReview or any amazonQ Feature. - `interactionType` can be upvote/downvote or comment or rating. - This event can be expanded by adding additional fields like comment, rating according to the requirement.
1 parent 8df7a87 commit 9fc0c58

File tree

1 file changed

+42
-29
lines changed

1 file changed

+42
-29
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 42 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,7 +1021,7 @@
10211021
"viewDiff"
10221022
],
10231023
"type": "string",
1024-
"description": "Indicates the specific interaction type with a message in a conversation"
1024+
"description": "(Deprecated, use `interactionType` instead.) User interaction type, especially for AI-related features."
10251025
},
10261026
{
10271027
"name": "cwsprChatMessageId",
@@ -1251,6 +1251,8 @@
12511251
"description": "The id of the feature the user is interacting in. See also: `component`, `featureId`, `module`, `resourceType`.",
12521252
"allowedValues": [
12531253
"amazonQ",
1254+
"amazonQTest",
1255+
"amazonQReview",
12541256
"awsExplorer",
12551257
"awsToolkit",
12561258
"codewhisperer",
@@ -1423,6 +1425,24 @@
14231425
],
14241426
"description": "User-selected time range type while starting an insights query"
14251427
},
1428+
{
1429+
"name": "interactionType",
1430+
"type": "string",
1431+
"description": "User interaction, especially for AI-related features.",
1432+
"allowedValues": [
1433+
"acceptDiff",
1434+
"insertAtCursor",
1435+
"copySnippet",
1436+
"copy",
1437+
"clickLink",
1438+
"clickFollowUp",
1439+
"hoverReference",
1440+
"upvote",
1441+
"downvote",
1442+
"clickBodyLink",
1443+
"viewDiff"
1444+
]
1445+
},
14261446
{
14271447
"name": "invalidInputFields",
14281448
"type": "string",
@@ -1977,34 +1997,6 @@
19771997
}
19781998
]
19791999
},
1980-
{
1981-
"name": "amazonq_approachThumbsDown",
1982-
"description": "User clicked on the thumbs down button to say that they are unsatisfied",
1983-
"unit": "Count",
1984-
"metadata": [
1985-
{
1986-
"type": "amazonqConversationId"
1987-
},
1988-
{
1989-
"type": "credentialStartUrl",
1990-
"required": false
1991-
}
1992-
]
1993-
},
1994-
{
1995-
"name": "amazonq_approachThumbsUp",
1996-
"description": "User clicked on the thumbs up button, to mention that they are satisfied",
1997-
"unit": "Count",
1998-
"metadata": [
1999-
{
2000-
"type": "amazonqConversationId"
2001-
},
2002-
{
2003-
"type": "credentialStartUrl",
2004-
"required": false
2005-
}
2006-
]
2007-
},
20082000
{
20092001
"name": "amazonq_bundleExtensionIgnored",
20102002
"description": "File extension was ignored 'count' many times during bundling process",
@@ -2156,6 +2148,27 @@
21562148
}
21572149
]
21582150
},
2151+
{
2152+
"name": "amazonq_feedback",
2153+
"description": "When a user gives feedback using vote or comment or rating in the conversation",
2154+
"metadata": [
2155+
{
2156+
"type": "amazonqConversationId",
2157+
"required": false
2158+
},
2159+
{
2160+
"type": "credentialStartUrl",
2161+
"required": false
2162+
},
2163+
{
2164+
"type": "featureId"
2165+
},
2166+
{
2167+
"type": "interactionType",
2168+
"required": false
2169+
}
2170+
]
2171+
},
21592172
{
21602173
"name": "amazonq_interactWithMessage",
21612174
"description": "When a user interacts with a message in the conversation",

0 commit comments

Comments
 (0)