Skip to content

feat: adding new fields for NEP telemtry events #1029

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,11 @@
"type": "int",
"description": "The number of tokens that are accepted and not modified by the user"
},
{
"name": "codewhispererAddedCharactersCount",
"type": "int",
"description": "The number of new characters of code that will be added by the suggestion if accepted, excluding any characters from the beginning of the suggestion that the user had typed in after the trigger. "
},
{
"name": "codewhispererAllCompletionsLatency",
"type": "double",
Expand Down Expand Up @@ -634,6 +639,11 @@
"type": "string",
"description": "The currently selected customization arn(None if using the base model)"
},
{
"name": "codewhispererDeletedCharacterCount",
"type": "int",
"description": "The number of characters of existing code that will be removed by the suggestion if accepted."
},
{
"name": "codewhispererEndToEndLatency",
"type": "double",
Expand Down Expand Up @@ -795,6 +805,11 @@
"type": "string",
"description": "The unique identifier for a CodeWhisperer session(which can contain multiple requests)"
},
{
"name": "codewhispererStreakLength",
"type": "int",
"description": "The length of the last completed streak. A streak is a string of unbroken, consecutive suggestion accepted by the user. "
},
{
"name": "codewhispererSuggestedTokens",
"type": "int",
Expand Down Expand Up @@ -908,6 +923,11 @@
"type": "int",
"description": "The length of additional characters inputted by the user since the invocation. "
},
{
"name": "codewhispererUnmodifiedAddedCharacterCount",
"type": "int",
"description": "The number of new characters of code from the suggestion still in the codebase after 5 mins."
},
{
"name": "codewhispererUserGroup",
"type": "string",
Expand Down