Skip to content

Commit 0e85628

Browse files
committed
telemetry: add metrics for pinned context
1 parent 416c479 commit 0e85628

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,6 +1160,26 @@
11601160
"type": "string",
11611161
"description": "Unique identifier for each message in an conversation"
11621162
},
1163+
{
1164+
"name": "cwsprChatPinnedCodeContextCount",
1165+
"type": "int",
1166+
"description": "Number of pinned code symbols added to context"
1167+
},
1168+
{
1169+
"name": "cwsprChatPinnedFileContextCount",
1170+
"type": "int",
1171+
"description": "Number of pinned files added to context"
1172+
},
1173+
{
1174+
"name": "cwsprChatPinnedFolderContextCount",
1175+
"type": "int",
1176+
"description": "Number of pinned folders added to context"
1177+
},
1178+
{
1179+
"name": "cwsprChatPinnedPromptContextCount",
1180+
"type": "int",
1181+
"description": "Number of pinned saved prompts added to context"
1182+
},
11631183
{
11641184
"name": "cwsprChatProgrammingLanguage",
11651185
"type": "string",
@@ -1218,7 +1238,7 @@
12181238
{
12191239
"name": "cwsprChatRuleContextCount",
12201240
"type": "int",
1221-
"description": "Number of workspace rules automatically added to context"
1241+
"description": "Number of workspace rules automatically added to context (does not include inactive rules)"
12221242
},
12231243
{
12241244
"name": "cwsprChatRuleContextLength",
@@ -1265,6 +1285,11 @@
12651285
"type": "int",
12661286
"description": "Total number of code blocks inside a message in the conversation."
12671287
},
1288+
{
1289+
"name": "cwsprChatTotalRuleContextCount",
1290+
"type": "int",
1291+
"description": "Total number of workspace rules (both active and inactive)"
1292+
},
12681293
{
12691294
"name": "cwsprChatTriggerInteraction",
12701295
"type": "string",
@@ -2413,6 +2438,22 @@
24132438
{
24142439
"type": "cwsprChatMessageId"
24152440
},
2441+
{
2442+
"type": "cwsprChatPinnedCodeContextCount",
2443+
"required": false
2444+
},
2445+
{
2446+
"type": "cwsprChatPinnedFileContextCount",
2447+
"required": false
2448+
},
2449+
{
2450+
"type": "cwsprChatPinnedFolderContextCount",
2451+
"required": false
2452+
},
2453+
{
2454+
"type": "cwsprChatPinnedPromptContextCount",
2455+
"required": false
2456+
},
24162457
{
24172458
"type": "cwsprChatProgrammingLanguage",
24182459
"required": false
@@ -2485,6 +2526,10 @@
24852526
"type": "cwsprChatTimeToFirstUsableChunk",
24862527
"required": false
24872528
},
2529+
{
2530+
"type": "cwsprChatTotalRuleContextCount",
2531+
"required": false
2532+
},
24882533
{
24892534
"type": "cwsprChatTriggerInteraction"
24902535
},

0 commit comments

Comments
 (0)