Skip to content

Commit c99533d

Browse files
authored
feat(weaverbird): Add awsqConversationId telemetry (#609)
* feat(weaverbird): Add awsqConversationId telemetry
1 parent 759191d commit c99533d

File tree

1 file changed

+33
-16
lines changed

1 file changed

+33
-16
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 33 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -865,6 +865,11 @@
865865
"name": "awsqRepositorySize",
866866
"type": "int",
867867
"description": "The size of the repository"
868+
},
869+
{
870+
"name": "awsqConversationId",
871+
"type": "string",
872+
"description": "Uniquely identifies a message with which the user interacts"
868873
}
869874
],
870875
"metrics": [
@@ -2558,88 +2563,100 @@
25582563
{
25592564
"name": "awsq_assignCommand",
25602565
"description": "Number of times the user have triggered /assign ",
2561-
"unit": "Count"
2566+
"unit": "Count",
2567+
"metadata": [{ "type": "awsqConversationId" }]
25622568
},
25632569
{
25642570
"name": "awsq_codeReGeneration",
25652571
"description": "Number of times the user invoked agent to re-engage in Code Gen.",
2566-
"unit": "Count"
2572+
"unit": "Count",
2573+
"metadata": [{ "type": "awsqConversationId" }]
25672574
},
25682575
{
25692576
"name": "awsq_codeGenerateClick",
25702577
"description": "Number of times the user has clicked on Generate Code",
2571-
"unit": "Count"
2578+
"unit": "Count",
2579+
"metadata": [{ "type": "awsqConversationId" }]
25722580
},
25732581
{
25742582
"name": "awsq_approach",
25752583
"description": "Number of time the user received an Approach.",
2576-
"unit": "Count"
2584+
"unit": "Count",
2585+
"metadata": [{ "type": "awsqConversationId" }]
25772586
},
25782587
{
25792588
"name": "awsq_isRegeneratedCode",
25802589
"description": "User has re-generated code as a part of code generation portion",
2581-
"metadata": [{ "type": "enabled" }]
2590+
"metadata": [{ "type": "enabled" }, { "type": "awsqConversationId" }]
25822591
},
25832592
{
25842593
"name": "awsq_filesReviewed",
25852594
"description": "How many files the user reviewed files after Code Generation phase.",
2586-
"unit": "Count"
2595+
"unit": "Count",
2596+
"metadata": [{ "type": "awsqConversationId" }]
25872597
},
25882598
{
25892599
"name": "awsq_isAcceptedCodeChanges",
25902600
"description": "User applied code changes generated for the task.",
2591-
"metadata": [{ "type": "enabled" }]
2601+
"metadata": [{ "type": "enabled" }, { "type": "awsqConversationId" }]
25922602
},
25932603
{
25942604
"name": "awsq_repo",
25952605
"description": "The size of the input repository",
2596-
"metadata": [{ "type": "awsqRepositorySize" }]
2606+
"metadata": [{ "type": "awsqRepositorySize" }, { "type": "awsqConversationId" }]
25972607
},
25982608
{
25992609
"name": "awsq_filesChanged",
26002610
"description": "The numbed of files suggested to change",
2601-
"unit": "Count"
2611+
"unit": "Count",
2612+
"metadata": [{ "type": "awsqConversationId" }]
26022613
},
26032614
{
26042615
"name": "awsq_codeGenerationThumbsUp",
26052616
"description": "User clicked on the thumbs up button, to mention that they are satisfied",
2606-
"unit": "Count"
2617+
"unit": "Count",
2618+
"metadata": [{ "type": "awsqConversationId" }]
26072619
},
26082620
{
26092621
"name": "awsq_codeGenerationThumbsDown",
26102622
"description": "User clicked on the thumbs down button to say that they are unsatisfied",
2611-
"unit": "Count"
2623+
"unit": "Count",
2624+
"metadata": [{ "type": "awsqConversationId" }]
26122625
},
26132626
{
26142627
"name": "awsq_approachThumbsUp",
26152628
"description": "User clicked on the thumbs up button, to mention that they are satisfied",
2616-
"unit": "Count"
2629+
"unit": "Count",
2630+
"metadata": [{ "type": "awsqConversationId" }]
26172631
},
26182632
{
26192633
"name": "awsq_approachThumbsDown",
26202634
"description": "User clicked on the thumbs down button to say that they are unsatisfied",
2621-
"unit": "Count"
2635+
"unit": "Count",
2636+
"metadata": [{ "type": "awsqConversationId" }]
26222637
},
26232638
{
26242639
"name": "awsq_codeGenerationInvoke",
26252640
"description": "Emitted when the user started Code Generation process.",
26262641
"metadata": [
26272642
{ "type": "result" },
2628-
{ "type": "reason", "required": false }
2643+
{ "type": "reason", "required": false },
2644+
{ "type": "awsqConversationId" }
26292645
]
26302646
},
26312647
{
26322648
"name": "awsq_approachInvoke",
26332649
"description": "Emitted when the user started Approach process.",
26342650
"metadata": [
26352651
{ "type": "result" },
2636-
{ "type": "reason", "required": false }
2652+
{ "type": "reason", "required": false },
2653+
{ "type": "awsqConversationId" }
26372654
]
26382655
},
26392656
{
26402657
"name": "awsq_isApproachAccepted",
26412658
"description": "User has accepted the approach generated by Weaverbird.",
2642-
"metadata": [{ "type": "enabled" }]
2659+
"metadata": [{ "type": "enabled" }, { "type": "awsqConversationId" }]
26432660
},
26442661
{
26452662
"name": "codewhisperer_codePercentage",

0 commit comments

Comments
 (0)