Skip to main content

GmAutomationStats

Aggregate automation activity for an app over a recent window: throughput, failure rate, compute, and a per-automation breakdown. The "what are my NPCs doing" view.

type GmAutomationStats {
windowMinutes: Int!
totalRuns: Int!
failedRuns: Int!
failureRatePct: Float!
runsPerMinute: Float!
totalInvocations: Int!
totalMutations: Int!
totalComputeUnits: Int!
avgDurationUs: Int!
byAutomation: [GmAutomationStat!]!
}

Fields

GmAutomationStats.windowMinutes ● Int! non-null scalar

The window size in minutes.

GmAutomationStats.totalRuns ● Int! non-null scalar

Total runs in the window.

GmAutomationStats.failedRuns ● Int! non-null scalar

Failed runs in the window.

GmAutomationStats.failureRatePct ● Float! non-null scalar

Failure rate as a percentage (0-100).

GmAutomationStats.runsPerMinute ● Float! non-null scalar

Average runs per minute over the window.

GmAutomationStats.totalInvocations ● Int! non-null scalar

Total function invocations across runs.

GmAutomationStats.totalMutations ● Int! non-null scalar

Total property mutations across runs.

GmAutomationStats.totalComputeUnits ● Int! non-null scalar

Total billed compute units in the window.

GmAutomationStats.avgDurationUs ● Int! non-null scalar

Average run duration in microseconds.

GmAutomationStats.byAutomation ● [GmAutomationStat!]! non-null object

Per-automation breakdown.

Returned By

gameModelAutomationStats query