Skip to main content

WasmAppDiagnostics

A snapshot of an app's compute footprint: module/version/trigger counts plus recent run activity. Helps developers understand what compute is deployed and doing.

type WasmAppDiagnostics {
appId: BigInt!
moduleCount: Int!
enabledModuleCount: Int!
versionCount: Int!
triggerCount: Int!
runs24h: Int!
failedRuns24h: Int!
fuelUsed24h: BigInt!
topModules: [WasmTopModule!]!
toolchainRustVersion: String
toolchainWasmOptVersion: String
}

Fields

WasmAppDiagnostics.appId ● BigInt! non-null scalar

The app (tenant).

WasmAppDiagnostics.moduleCount ● Int! non-null scalar

Modules defined.

WasmAppDiagnostics.enabledModuleCount ● Int! non-null scalar

Modules currently enabled.

WasmAppDiagnostics.versionCount ● Int! non-null scalar

Source versions uploaded (all modules).

WasmAppDiagnostics.triggerCount ● Int! non-null scalar

Trigger bindings defined.

WasmAppDiagnostics.runs24h ● Int! non-null scalar

Runs in the last 24h.

WasmAppDiagnostics.failedRuns24h ● Int! non-null scalar

Failed runs in the last 24h.

WasmAppDiagnostics.fuelUsed24h ● BigInt! non-null scalar

Fuel consumed in the last 24h.

WasmAppDiagnostics.topModules ● [WasmTopModule!]! non-null object

Most-active modules in the last 24h.

WasmAppDiagnostics.toolchainRustVersion ● String scalar

Rust compiler version of the toolchain on the replica that served this query (the boot-logged fingerprint; replicas with skewed toolchains produce disjoint compile-cache keys). Null when the toolchain is not provisioned on this host.

WasmAppDiagnostics.toolchainWasmOptVersion ● String scalar

wasm-opt version of the toolchain on the replica that served this query. Null when the toolchain is not provisioned on this host.

Returned By

computeAppDiagnostics query