appComputeUsage
What an app consumed, in compute units, split by engine — the model expression engine, developer compute modules, and player compute — over a window of minutes. ONE unit spans them: a compute unit is one millisecond of measured execution time, which both engines already measure with the same clock, floored per engine by that engine's own work counter where the clock cannot see the work (fuel for WASM). Use peakMinuteUnits, not meanUnitsPerMinute, when comparing against a per-minute allowance. Requires app-admin ('manage_apps').
appComputeUsage(
appId: BigInt!
windowMinutes: Int = 60
): AppComputeUsage!
Arguments
appComputeUsage.appId ● BigInt! non-null scalar
The app (tenant) to report on.
appComputeUsage.windowMinutes ● Int scalar
Window length in minutes, clamped to 1..1440. Defaults to 60.
Type
AppComputeUsage object
What an app consumed, per engine, in ONE unit — the number a developer uses to compare the model engine against compute modules, and the number an operator's per-minute allowance is checked against. Derived from the existing per-minute ledgers (wasm_compute_usage, player_wasm_compute_usage, gm_automation_runs, gm_event_log); there is deliberately no separate rollup table for it.