Skip to content

Commit 639cc08

Browse files
committed
feat: adding new fields for NEP telemtry events
1 parent 4cc5288 commit 639cc08

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,11 @@
511511
"type": "int",
512512
"description": "The number of tokens that are accepted and not modified by the user"
513513
},
514+
{
515+
"name": "codewhispererAddedCharactersCount",
516+
"type": "int",
517+
"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. "
518+
},
514519
{
515520
"name": "codewhispererAllCompletionsLatency",
516521
"type": "double",
@@ -634,6 +639,11 @@
634639
"type": "string",
635640
"description": "The currently selected customization arn(None if using the base model)"
636641
},
642+
{
643+
"name": "codewhispererDeletedCharacterCount",
644+
"type": "int",
645+
"description": "The number of characters of existing code that will be removed by the suggestion if accepted."
646+
},
637647
{
638648
"name": "codewhispererEndToEndLatency",
639649
"type": "double",
@@ -795,6 +805,11 @@
795805
"type": "string",
796806
"description": "The unique identifier for a CodeWhisperer session(which can contain multiple requests)"
797807
},
808+
{
809+
"name": "codewhispererStreakLength",
810+
"type": "int",
811+
"description": "The length of the last completed streak. A streak is a string of unbroken, consecutive suggestion accepted by the user. "
812+
},
798813
{
799814
"name": "codewhispererSuggestedTokens",
800815
"type": "int",
@@ -908,6 +923,11 @@
908923
"type": "int",
909924
"description": "The length of additional characters inputted by the user since the invocation. "
910925
},
926+
{
927+
"name": "codewhispererUnmodifiedAddedCharacterCount",
928+
"type": "int",
929+
"description": "The number of new characters of code from the suggestion still in the codebase after 5 mins."
930+
},
911931
{
912932
"name": "codewhispererUserGroup",
913933
"type": "string",

0 commit comments

Comments
 (0)