Skip to content

Commit 67dab99

Browse files
committed
port definition
1 parent b03090c commit 67dab99

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

telemetry/definitions/commonDefinitions.json

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,11 @@
209209
],
210210
"description": "User inputted check type to denote which custom check to run."
211211
},
212+
{
213+
"name": "childProcess",
214+
"type": "string",
215+
"description": "A string representation of a ChildProcess"
216+
},
212217
{
213218
"name": "cloudWatchLogsPresentation",
214219
"type": "string",
@@ -1453,6 +1458,11 @@
14531458
"type": "int",
14541459
"description": "Number of generations before the user accepted or rejected"
14551460
},
1461+
{
1462+
"name": "numChildProcesses",
1463+
"type": "int",
1464+
"description": "number of child processes actively running"
1465+
},
14561466
{
14571467
"name": "oldVersion",
14581468
"type": "string",
@@ -1680,6 +1690,12 @@
16801690
"CodeOnly"
16811691
]
16821692
},
1693+
{
1694+
"name": "systemResource",
1695+
"type": "string",
1696+
"allowedValues": ["cpu", "memory"],
1697+
"description": "The system resource being measured"
1698+
},
16831699
{
16841700
"name": "templateName",
16851701
"type": "string",
@@ -5742,6 +5758,20 @@
57425758
}
57435759
]
57445760
},
5761+
{
5762+
"name": "ide_childProcessWarning",
5763+
"description": "Child Process warning due to high system usage",
5764+
"metadata": [
5765+
{
5766+
"type": "systemResource",
5767+
"required": true
5768+
},
5769+
{
5770+
"type": "childProcess",
5771+
"required": true
5772+
}
5773+
]
5774+
},
57455775
{
57465776
"name": "ide_editCodeFile",
57475777
"description": "User opened a code file with the given file extension. Client should DEDUPLICATE this metric (ideally hourly/daily). AWS-specific files should (also) emit `file_editAwsFile`.",
@@ -5753,6 +5783,16 @@
57535783
}
57545784
]
57555785
},
5786+
{
5787+
"name": "ide_showExtStats",
5788+
"description": "Emitted when user invokes show extensions stats command",
5789+
"metadata": [
5790+
{
5791+
"type": "numChildProcesses",
5792+
"required": true
5793+
}
5794+
]
5795+
},
57565796
{
57575797
"name": "lambda_configure",
57585798
"description": "Called when opening the local configuration of a Lambda to edit",

0 commit comments

Comments
 (0)