Skip to content

Commit abdb5fd

Browse files
committed
port metrics down from commons until release
1 parent 3b3b39b commit abdb5fd

File tree

1 file changed

+37
-11
lines changed

1 file changed

+37
-11
lines changed

packages/core/src/shared/telemetry/vscodeTelemetry.json

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,32 @@
11
{
22
"types": [
3+
{
4+
"name": "languageServerLocation",
5+
"type": "string",
6+
"allowedValues": ["cache", "remote", "fallback", "override"],
7+
"description": "The location of the language server"
8+
},
39
{
410
"name": "languageServerSetupStage",
511
"type": "string",
6-
"allowedValues": ["getManifest", "getServer", "validate", "launch", "final"],
12+
"allowedValues": ["getManifest", "getServer", "validate", "launch", "handshake", "all"],
713
"description": "The stage of the LSP setup process"
814
},
915
{
10-
"name": "languageServerResourceLocation",
16+
"name": "languageServerVersion",
17+
"type": "string",
18+
"description": "The version of the language server"
19+
},
20+
{
21+
"name": "manifestLocation",
1122
"type": "string",
12-
"allowedValues": ["cache", "remote", "fallback", "override", "unknown"],
13-
"description": "The location of the LSP resource"
23+
"allowedValues": ["cache", "remote", "override"],
24+
"description": "The location of the manifest"
1425
},
1526
{
16-
"name": "manifestVersion",
27+
"name": "manifestSchemaVersion",
1728
"type": "string",
18-
"description": "The version of the manifest file"
29+
"description": "The version of the manifest schema file"
1930
},
2031
{
2132
"name": "amazonGenerateApproachLatency",
@@ -377,19 +388,34 @@
377388
"metrics": [
378389
{
379390
"name": "languageServer_setup",
380-
"description": "LSP setup event",
391+
"description": "Sets up a language server",
392+
"passive": true,
393+
"unit": "Milliseconds",
381394
"metadata": [
382395
{
383-
"type": "languageServerSetupStage",
384-
"required": true
396+
"type": "id"
385397
},
386398
{
387-
"type": "languageServerResourceLocation",
399+
"type": "languageServerLocation",
388400
"required": false
389401
},
390402
{
391-
"type": "manifestVersion",
403+
"type": "languageServerSetupStage"
404+
},
405+
{
406+
"type": "languageServerVersion",
392407
"required": false
408+
},
409+
{
410+
"type": "manifestLocation",
411+
"required": false
412+
},
413+
{
414+
"type": "manifestSchemaVersion",
415+
"required": false
416+
},
417+
{
418+
"type": "result"
393419
}
394420
]
395421
},

0 commit comments

Comments
 (0)