|
209 | 209 | ], |
210 | 210 | "description": "User inputted check type to denote which custom check to run." |
211 | 211 | }, |
| 212 | + { |
| 213 | + "name": "childProcess", |
| 214 | + "type": "string", |
| 215 | + "description": "A string representation of a ChildProcess" |
| 216 | + }, |
212 | 217 | { |
213 | 218 | "name": "cloudWatchLogsPresentation", |
214 | 219 | "type": "string", |
|
1453 | 1458 | "type": "int", |
1454 | 1459 | "description": "Number of generations before the user accepted or rejected" |
1455 | 1460 | }, |
| 1461 | + { |
| 1462 | + "name": "numChildProcesses", |
| 1463 | + "type": "int", |
| 1464 | + "description": "number of child processes actively running" |
| 1465 | + }, |
1456 | 1466 | { |
1457 | 1467 | "name": "oldVersion", |
1458 | 1468 | "type": "string", |
|
1680 | 1690 | "CodeOnly" |
1681 | 1691 | ] |
1682 | 1692 | }, |
| 1693 | + { |
| 1694 | + "name": "systemResource", |
| 1695 | + "type": "string", |
| 1696 | + "allowedValues": ["cpu", "memory"], |
| 1697 | + "description": "The system resource being measured" |
| 1698 | + }, |
1683 | 1699 | { |
1684 | 1700 | "name": "templateName", |
1685 | 1701 | "type": "string", |
|
5742 | 5758 | } |
5743 | 5759 | ] |
5744 | 5760 | }, |
| 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 | + }, |
5745 | 5775 | { |
5746 | 5776 | "name": "ide_editCodeFile", |
5747 | 5777 | "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 | 5783 | } |
5754 | 5784 | ] |
5755 | 5785 | }, |
| 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 | + }, |
5756 | 5796 | { |
5757 | 5797 | "name": "lambda_configure", |
5758 | 5798 | "description": "Called when opening the local configuration of a Lambda to edit", |
|
0 commit comments