Skip to content

Commit eb7ecf9

Browse files
committed
Adding a generic event for Amazon Q feedback
1 parent 8df7a87 commit eb7ecf9

File tree

1 file changed

+32
-28
lines changed

1 file changed

+32
-28
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 32 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -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",
@@ -1870,6 +1872,15 @@
18701872
"type": "string",
18711873
"description": "A generic version metadata"
18721874
},
1875+
{
1876+
"name": "vote",
1877+
"type": "string",
1878+
"description": "User can click on thumbs up or thumbs down for feedback.",
1879+
"allowedValues": [
1880+
"upvote",
1881+
"downvote"
1882+
]
1883+
},
18731884
{
18741885
"name": "workflowToken",
18751886
"type": "string",
@@ -1977,34 +1988,6 @@
19771988
}
19781989
]
19791990
},
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-
},
20081991
{
20091992
"name": "amazonq_bundleExtensionIgnored",
20101993
"description": "File extension was ignored 'count' many times during bundling process",
@@ -2156,6 +2139,27 @@
21562139
}
21572140
]
21582141
},
2142+
{
2143+
"name": "amazonq_feedback",
2144+
"description": "When a user gives feedback using vote or comment or rating in the conversation",
2145+
"metadata": [
2146+
{
2147+
"type": "amazonqConversationId",
2148+
"required": false
2149+
},
2150+
{
2151+
"type": "credentialStartUrl",
2152+
"required": false
2153+
},
2154+
{
2155+
"type": "featureId"
2156+
},
2157+
{
2158+
"type": "vote",
2159+
"required": false
2160+
}
2161+
]
2162+
},
21592163
{
21602164
"name": "amazonq_interactWithMessage",
21612165
"description": "When a user interacts with a message in the conversation",

0 commit comments

Comments
 (0)