Skip to content

Commit b576735

Browse files
authored
feat(amazonq_): amazonq_ metrics improvemenets (#620)
* feat(amazonq_): Delete unused metric awsq_, change int metrics to double in amazonq
1 parent d6ccc46 commit b576735

File tree

1 file changed

+7
-116
lines changed

1 file changed

+7
-116
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 7 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -866,34 +866,24 @@
866866
"type": "string",
867867
"description": "User selection from a predefined menu (not user-provided input)"
868868
},
869-
{
870-
"name": "awsqRepositorySize",
871-
"type": "int",
872-
"description": "The size of the repository"
873-
},
874-
{
875-
"name": "awsqConversationId",
876-
"type": "string",
877-
"description": "Uniquely identifies a message with which the user interacts."
878-
},
879869
{
880870
"name": "amazonqConversationId",
881871
"type": "string",
882872
"description": "Uniquely identifies a message with which the user interacts."
883873
},
884874
{
885875
"name": "amazonqGenerateApproachIteration",
886-
"type": "int",
876+
"type": "double",
887877
"description": "Order of approach iteration. For initial code changes it is 0"
888878
},
889879
{
890-
"name": "amazonGenerateApproachLatency",
880+
"name": "amazonqGenerateApproachLatency",
891881
"type": "double",
892882
"description": "The time it takes to generate approach response"
893883
},
894884
{
895885
"name": "amazonqGenerateCodeIteration",
896-
"type": "int",
886+
"type": "double",
897887
"description": "Order of code generation iteration. For initial code changes it is 0"
898888
},
899889
{
@@ -908,13 +898,13 @@
908898
},
909899
{
910900
"name": "amazonqNumberOfFilesGenerated",
911-
"type": "int",
901+
"type": "double",
912902
"description": "Captures the number of files generated as a part of code generation iteration"
913903
},
914904

915905
{
916906
"name": "amazonqRepositorySize",
917-
"type": "int",
907+
"type": "double",
918908
"description": "Captures size of the source code"
919909
}
920910
],
@@ -2605,105 +2595,6 @@
26052595
],
26062596
"passive": true
26072597
},
2608-
2609-
{
2610-
"name": "awsq_assignCommand",
2611-
"description": "Number of times the user have triggered /assign ",
2612-
"unit": "Count",
2613-
"metadata": [{ "type": "awsqConversationId" }]
2614-
},
2615-
{
2616-
"name": "awsq_codeReGeneration",
2617-
"description": "Number of times the user invoked agent to re-engage in Code Gen.",
2618-
"unit": "Count",
2619-
"metadata": [{ "type": "awsqConversationId" }]
2620-
},
2621-
{
2622-
"name": "awsq_codeGenerateClick",
2623-
"description": "Number of times the user has clicked on Generate Code",
2624-
"unit": "Count",
2625-
"metadata": [{ "type": "awsqConversationId" }]
2626-
},
2627-
{
2628-
"name": "awsq_approach",
2629-
"description": "Number of time the user received an Approach.",
2630-
"unit": "Count",
2631-
"metadata": [{ "type": "awsqConversationId" }]
2632-
},
2633-
{
2634-
"name": "awsq_isRegeneratedCode",
2635-
"description": "User has re-generated code as a part of code generation portion",
2636-
"metadata": [{ "type": "enabled" }, { "type": "awsqConversationId" }]
2637-
},
2638-
{
2639-
"name": "awsq_filesReviewed",
2640-
"description": "How many files the user reviewed files after Code Generation phase.",
2641-
"unit": "Count",
2642-
"metadata": [{ "type": "awsqConversationId" }]
2643-
},
2644-
{
2645-
"name": "awsq_isAcceptedCodeChanges",
2646-
"description": "User applied code changes generated for the task.",
2647-
"metadata": [{ "type": "enabled" }, { "type": "awsqConversationId" }]
2648-
},
2649-
{
2650-
"name": "awsq_repo",
2651-
"description": "The size of the input repository",
2652-
"metadata": [{ "type": "awsqRepositorySize" }, { "type": "awsqConversationId" }]
2653-
},
2654-
{
2655-
"name": "awsq_filesChanged",
2656-
"description": "The numbed of files suggested to change",
2657-
"unit": "Count",
2658-
"metadata": [{ "type": "awsqConversationId" }]
2659-
},
2660-
{
2661-
"name": "awsq_codeGenerationThumbsUp",
2662-
"description": "User clicked on the thumbs up button, to mention that they are satisfied",
2663-
"unit": "Count",
2664-
"metadata": [{ "type": "awsqConversationId" }]
2665-
},
2666-
{
2667-
"name": "awsq_codeGenerationThumbsDown",
2668-
"description": "User clicked on the thumbs down button to say that they are unsatisfied",
2669-
"unit": "Count",
2670-
"metadata": [{ "type": "awsqConversationId" }]
2671-
},
2672-
{
2673-
"name": "awsq_approachThumbsUp",
2674-
"description": "User clicked on the thumbs up button, to mention that they are satisfied",
2675-
"unit": "Count",
2676-
"metadata": [{ "type": "awsqConversationId" }]
2677-
},
2678-
{
2679-
"name": "awsq_approachThumbsDown",
2680-
"description": "User clicked on the thumbs down button to say that they are unsatisfied",
2681-
"unit": "Count",
2682-
"metadata": [{ "type": "awsqConversationId" }]
2683-
},
2684-
{
2685-
"name": "awsq_codeGenerationInvoke",
2686-
"description": "Emitted when the user started Code Generation process.",
2687-
"metadata": [
2688-
{ "type": "result" },
2689-
{ "type": "reason", "required": false },
2690-
{ "type": "awsqConversationId" }
2691-
]
2692-
},
2693-
{
2694-
"name": "awsq_approachInvoke",
2695-
"description": "Emitted when the user started Approach process.",
2696-
"metadata": [
2697-
{ "type": "result" },
2698-
{ "type": "reason", "required": false },
2699-
{ "type": "awsqConversationId" }
2700-
]
2701-
},
2702-
{
2703-
"name": "awsq_isApproachAccepted",
2704-
"description": "User has accepted the approach generated by Weaverbird.",
2705-
"metadata": [{ "type": "enabled" }, { "type": "awsqConversationId" }]
2706-
},
27072598
{
27082599
"name": "amazonq_startChat",
27092600
"description": "Number of times the user have triggered /dev and started the chat",
@@ -2725,12 +2616,12 @@
27252616
"metadata": [
27262617
{ "type": "amazonqConversationId" },
27272618
{ "type": "amazonqGenerateApproachIteration" },
2728-
{ "type": "amazonGenerateApproachLatency" }
2619+
{ "type": "amazonqGenerateApproachLatency" }
27292620
]
27302621
},
27312622
{
27322623
"name": "amazonq_isApproachAccepted",
2733-
"description": "User has accepted the approach generated by Weaverbird.",
2624+
"description": "User has accepted the approach generated",
27342625
"metadata": [{ "type": "enabled" }, { "type": "amazonqConversationId" }]
27352626
},
27362627
{

0 commit comments

Comments
 (0)