Skip to content

Commit 2eba9ad

Browse files
committed
feat: Adding two new events for flare mcp
1 parent 4cc5288 commit 2eba9ad

File tree

1 file changed

+124
-0
lines changed

1 file changed

+124
-0
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,11 @@
913913
"type": "string",
914914
"description": "The user group identifier we assign to the customer and it should be unique identifier across different IDE platforms, i.e. Classifier, CrossFile etc."
915915
},
916+
{
917+
"name": "command",
918+
"type": "string",
919+
"description": "The command of an operation"
920+
},
916921
{
917922
"name": "component",
918923
"type": "string",
@@ -1863,11 +1868,41 @@
18631868
"type": "string",
18641869
"description": "Comma delimited list of NEW enabled auth connections"
18651870
},
1871+
{
1872+
"name": "numActiveServers",
1873+
"type": "int",
1874+
"description": "Number of servers active"
1875+
},
18661876
{
18671877
"name": "numAttempts",
18681878
"type": "int",
18691879
"description": "Number of generations before the user accepted or rejected"
18701880
},
1881+
{
1882+
"name": "numGlobalServers",
1883+
"type": "int",
1884+
"description": "Number of servers in global json"
1885+
},
1886+
{
1887+
"name": "numProjectServers",
1888+
"type": "int",
1889+
"description": "Number of servers in project level json."
1890+
},
1891+
{
1892+
"name": "numTools",
1893+
"type": "int",
1894+
"description": "Number of tools in the operation"
1895+
},
1896+
{
1897+
"name": "numToolsAlwaysAllowed",
1898+
"type": "int",
1899+
"description": "Number of tools across servers has configuration as alwaysAllowed."
1900+
},
1901+
{
1902+
"name": "numToolsDenied",
1903+
"type": "int",
1904+
"description": "Number of tools across servers has configuration as denied."
1905+
},
18711906
{
18721907
"name": "oldVersion",
18731908
"type": "string",
@@ -2058,6 +2093,11 @@
20582093
],
20592094
"description": "Languages targeted by the schemas service"
20602095
},
2096+
{
2097+
"name": "scope",
2098+
"type": "string",
2099+
"description": "scope of the operation/config can be a global or workspace level scope."
2100+
},
20612101
{
20622102
"name": "serviceType",
20632103
"type": "string",
@@ -2175,6 +2215,14 @@
21752215
"type": "string",
21762216
"description": "Unique identifier for the trace (a set of events) this metric belongs to"
21772217
},
2218+
{
2219+
"name": "transportType",
2220+
"type": "string",
2221+
"allowedValues": [
2222+
"stdio"
2223+
],
2224+
"description": "Transport type of the MCP server"
2225+
},
21782226
{
21792227
"name": "update",
21802228
"type": "boolean",
@@ -2936,6 +2984,82 @@
29362984
}
29372985
]
29382986
},
2987+
{
2988+
"name": "amazonq_mcpConfig",
2989+
"description": "This metric is emitted per reload of an IDE or reinitizalize of a mcp server",
2990+
"metadata": [
2991+
{
2992+
"type": "credentialStartUrl",
2993+
"required": false
2994+
},
2995+
{
2996+
"type": "languageServerVersion",
2997+
"required": false
2998+
},
2999+
{
3000+
"type": "numActiveServers",
3001+
"required": false
3002+
},
3003+
{
3004+
"type": "numGlobalServers",
3005+
"required": false
3006+
},
3007+
{
3008+
"type": "numProjectServers",
3009+
"required": false
3010+
},
3011+
{
3012+
"type": "numToolsAlwaysAllowed",
3013+
"required": false
3014+
},
3015+
{
3016+
"type": "numToolsDenied",
3017+
"required": false
3018+
}
3019+
]
3020+
},
3021+
{
3022+
"name": "amazonq_mcpServerInit",
3023+
"description": "This metric is emitted per mcp server name when user reloads an IDE or does any CRUD operation on mcp config.",
3024+
"metadata": [
3025+
{
3026+
"type": "command",
3027+
"required": false
3028+
},
3029+
{
3030+
"type": "credentialStartUrl",
3031+
"required": false
3032+
},
3033+
{
3034+
"type": "enabled",
3035+
"required": false
3036+
},
3037+
{
3038+
"type": "initializeTime",
3039+
"required": false
3040+
},
3041+
{
3042+
"type": "languageServerVersion",
3043+
"required": false
3044+
},
3045+
{
3046+
"type": "numTools",
3047+
"required": false
3048+
},
3049+
{
3050+
"type": "scope",
3051+
"required": false
3052+
},
3053+
{
3054+
"type": "source",
3055+
"required": false
3056+
},
3057+
{
3058+
"type": "transportType",
3059+
"required": false
3060+
}
3061+
]
3062+
},
29393063
{
29403064
"name": "amazonq_messageResponseError",
29413065
"description": "When an error has occured in response to a prompt",

0 commit comments

Comments
 (0)