Skip to content

Commit e9ec375

Browse files
authored
fix(telemetry): re-run the update metrics script (#2005)
the updates made to these files from #1982 came out a bit weird. So I reverted changes on these files and re-run `npm run gen` (which includes `npm run update-metrics`) to correct them. we'd always want old entries to be marked as deprecated and new entries to be added to the very last. Don't manually resolve conflicts in these files. When there are conflicts, just revert back to a clean state and `npm run gen` will take care of them 😉
1 parent 407c2bd commit e9ec375

2 files changed

Lines changed: 27 additions & 8 deletions

File tree

src/telemetry/flag_usage_metrics.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,19 +281,19 @@
281281
"isDeprecated": true
282282
},
283283
{
284-
"name": "category_experimental_third_party_present",
284+
"name": "category_experimental_webmcp_present",
285285
"flagType": "boolean"
286286
},
287287
{
288-
"name": "category_experimental_third_party",
288+
"name": "category_experimental_webmcp",
289289
"flagType": "boolean"
290290
},
291291
{
292-
"name": "category_experimental_webmcp_present",
292+
"name": "category_experimental_third_party_present",
293293
"flagType": "boolean"
294294
},
295295
{
296-
"name": "category_experimental_webmcp",
296+
"name": "category_experimental_third_party",
297297
"flagType": "boolean"
298298
}
299299
]

src/telemetry/tool_call_metrics.json

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
]
116116
},
117117
{
118-
"name": "execute_3p_developer_tool",
118+
"name": "execute_in_page_tool",
119119
"args": [
120120
{
121121
"name": "tool_name_length",
@@ -125,7 +125,8 @@
125125
"name": "params_length",
126126
"argType": "number"
127127
}
128-
]
128+
],
129+
"isDeprecated": true
129130
},
130131
{
131132
"name": "fill",
@@ -253,8 +254,9 @@
253254
"args": []
254255
},
255256
{
256-
"name": "list_3p_developer_tools",
257-
"args": []
257+
"name": "list_in_page_tools",
258+
"args": [],
259+
"isDeprecated": true
258260
},
259261
{
260262
"name": "list_network_requests",
@@ -608,5 +610,22 @@
608610
"argType": "number"
609611
}
610612
]
613+
},
614+
{
615+
"name": "execute_3p_developer_tool",
616+
"args": [
617+
{
618+
"name": "tool_name_length",
619+
"argType": "number"
620+
},
621+
{
622+
"name": "params_length",
623+
"argType": "number"
624+
}
625+
]
626+
},
627+
{
628+
"name": "list_3p_developer_tools",
629+
"args": []
611630
}
612631
]

0 commit comments

Comments
 (0)