getAppMetrics
Array of ProcessMetric objects that correspond to memory and CPU usage statistics of all the processes associated with the app.
!NOTE
cpu.percentCPUUsageandcpu.idleWakeupsPerSecondare averages over the time since the last call toapp.getAppMetrics(), and each call starts a new measurement interval for every process at once. Other code in the main process, including dependencies, shares those intervals. SeeCPUUsagefor more details.