Skip to content

Commit

Permalink
telemetry: Adding cwsprChatProgrammingLanguage (#883)
Browse files Browse the repository at this point in the history
## 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.
  • Loading branch information
laileni-aws authored Oct 15, 2024
1 parent 633c1e8 commit 2973aa3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1001,6 +1001,11 @@
"type": "string",
"description": "Unique identifier for each message in an conversation"
},
{
"name": "cwsprChatProgrammingLanguage",
"type": "string",
"description": "Programming language associated with the message"
},
{
"name": "cwsprChatTotalCodeBlocks",
"type": "int",
Expand Down Expand Up @@ -2054,6 +2059,10 @@
"type": "cwsprChatMessageId",
"required": true
},
{
"type": "cwsprChatProgrammingLanguage",
"required": false
},
{
"type": "cwsprChatUserIntent",
"required": false
Expand Down

0 comments on commit 2973aa3

Please sign in to comment.