Skip to content

Commit 848064a

Browse files
authored
telemetry: toolkit_trackScenario #856
Problem No generic metric for counting how many times a (potentially temporary) scenario is reached. Such scenarios may be temporary and thus a dedicated metric is not appropriate. Example (vscode): When customer use workspaces to generate files, RTS and LLM cannot decide which folder to deliver the generated file. We want track how many times we reach for accountability and prioritization. Solution Add toolkit_trackScenario.
1 parent 811447b commit 848064a

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1575,6 +1575,11 @@
15751575
],
15761576
"description": "Type of save executed"
15771577
},
1578+
{
1579+
"name": "scenario",
1580+
"type": "string",
1581+
"description": "Scenarios to count in telemetry"
1582+
},
15781583
{
15791584
"name": "schemaLanguage",
15801585
"type": "string",
@@ -6820,6 +6825,30 @@
68206825
],
68216826
"passive": true
68226827
},
6828+
6829+
{
6830+
"name": "toolkit_trackScenario",
6831+
"description": "Generic metric for tracking arbitrary scenarios that are not yet formalized into a full metric.",
6832+
"unit": "Count",
6833+
"metadata": [
6834+
6835+
{
6836+
"type": "amazonqConversationId",
6837+
"required": true
6838+
},
6839+
{
6840+
"type": "count"
6841+
},
6842+
{
6843+
"type": "credentialStartUrl",
6844+
"required": false
6845+
},
6846+
{
6847+
"type": "scenario",
6848+
"required": true
6849+
}
6850+
]
6851+
},
68236852
{
68246853
"name": "toolkit_viewLogs",
68256854
"description": "View logs for the toolkit"
@@ -6879,4 +6908,4 @@
68796908
]
68806909
}
68816910
]
6882-
}
6911+
}

0 commit comments

Comments
 (0)