Skip to content

Commit 2973aa3

Browse files
authored
telemetry: Adding cwsprChatProgrammingLanguage (#883)
## Problem - There is existing `cwsprChatProgrammingLanguage` param used in different events with telemetry override in both IDE's but trying to initialize this in common. ## Solution - Adding `cwsprChatProgrammingLanguage` param to `amazonq_interactWithMessage` event in `commonDefination.json` <!--- REMINDER: - Read CONTRIBUTING.md first. - Add test coverage for your changes. - Link to related issues/commits. - Testing: how did you test your changes? - Screenshots if applicable --> ## License By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 633c1e8 commit 2973aa3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,11 @@
10011001
"type": "string",
10021002
"description": "Unique identifier for each message in an conversation"
10031003
},
1004+
{
1005+
"name": "cwsprChatProgrammingLanguage",
1006+
"type": "string",
1007+
"description": "Programming language associated with the message"
1008+
},
10041009
{
10051010
"name": "cwsprChatTotalCodeBlocks",
10061011
"type": "int",
@@ -2054,6 +2059,10 @@
20542059
"type": "cwsprChatMessageId",
20552060
"required": true
20562061
},
2062+
{
2063+
"type": "cwsprChatProgrammingLanguage",
2064+
"required": false
2065+
},
20572066
{
20582067
"type": "cwsprChatUserIntent",
20592068
"required": false

0 commit comments

Comments
 (0)