Home > @rushstack/heft > IMetricsData
IMetricsData interface
Signature:
export interface IMetricsData
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| command | string | The command that was executed. | |
| commandParameters | Record<string, string> | A map of commandline parameter names to their effective values | |
| encounteredError? | boolean | (Optional) Whether or not the command ran into errors | |
| machineArch | string | The processor's architecture. | |
| machineCores | number | The number of processor cores. | |
| machineOs | string | The name of the operating system provided by NodeJS. | |
| machineProcessor | string | The processor's model name. | |
| machineTotalMemoryMB | number | The total amount of memory the machine has, in megabytes. | |
| taskTotalExecutionMs | number | The amount of time the command took to execute, in milliseconds. |