Skip to main content

WasmComputeStats

Aggregate compute activity for an app over a recent window: throughput, failure rate, fuel, egress, and a per-module breakdown.

type WasmComputeStats {
windowMinutes: Int!
totalRuns: Int!
failedRuns: Int!
failureRatePct: Float!
totalFuelUsed: BigInt!
totalEgressMsgs: BigInt!
avgDurationUs: Int!
byModule: [WasmComputeStat!]!
}

Fields

WasmComputeStats.windowMinutes ● Int! non-null scalar

The window size in minutes.

WasmComputeStats.totalRuns ● Int! non-null scalar

Total runs in the window.

WasmComputeStats.failedRuns ● Int! non-null scalar

Failed runs in the window.

WasmComputeStats.failureRatePct ● Float! non-null scalar

Failure rate as a percentage (0-100).

WasmComputeStats.totalFuelUsed ● BigInt! non-null scalar

Total fuel consumed in the window.

WasmComputeStats.totalEgressMsgs ● BigInt! non-null scalar

Total replication messages emitted in the window.

WasmComputeStats.avgDurationUs ● Int! non-null scalar

Average run duration in microseconds.

WasmComputeStats.byModule ● [WasmComputeStat!]! non-null object

Per-module breakdown.

Returned By

computeModuleStats query