Skip to content

Commit 97ad716

Browse files
committed
make metric more verbose
1 parent 76711ac commit 97ad716

File tree

1 file changed

+27
-4
lines changed

1 file changed

+27
-4
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1414,17 +1414,22 @@
14141414
"description": "Language used for the project."
14151415
},
14161416
{
1417-
"name": "languageServerResourceLocation",
1417+
"name": "languageServerLocation",
14181418
"type": "string",
14191419
"allowedValues": ["cache", "remote", "fallback", "override", "unknown"],
1420-
"description": "The location of the LSP resource"
1420+
"description": "The location of the language server"
14211421
},
14221422
{
14231423
"name": "languageServerSetupStage",
14241424
"type": "string",
1425-
"allowedValues": ["getManifest", "getServer", "validate", "launch", "final"],
1425+
"allowedValues": ["getManifest", "getServer", "validate", "launch", "handshake", "final"],
14261426
"description": "The stage of the LSP setup process"
14271427
},
1428+
{
1429+
"name": "languageServerVersion",
1430+
"type": "string",
1431+
"description": "The version of the language server"
1432+
},
14281433
{
14291434
"name": "loadFileTime",
14301435
"type": "int",
@@ -1435,6 +1440,12 @@
14351440
"type": "string",
14361441
"description": "User locale. Examples: en-US, en-GB, etc."
14371442
},
1443+
{
1444+
"name": "manifestLocation",
1445+
"type": "string",
1446+
"allowedValues": ["cache", "remote", "fallback", "override", "unknown"],
1447+
"description": "The location of the manifest"
1448+
},
14381449
{
14391450
"name": "manifestVersion",
14401451
"type": "string",
@@ -5993,13 +6004,25 @@
59936004
"description": "LSP setup event",
59946005
"metadata": [
59956006
{
5996-
"type": "languageServerResourceLocation",
6007+
"type": "id",
6008+
"required": true
6009+
},
6010+
{
6011+
"type": "languageServerLocation",
59976012
"required": false
59986013
},
59996014
{
60006015
"type": "languageServerSetupStage",
60016016
"required": true
60026017
},
6018+
{
6019+
"type": "languageServerVersion",
6020+
"required": false
6021+
},
6022+
{
6023+
"type": "manifestLocation",
6024+
"required": false
6025+
},
60036026
{
60046027
"type": "manifestVersion",
60056028
"required": false

0 commit comments

Comments
 (0)