GmAppDiagnostics
A snapshot of an app's game-model footprint and recent activity: row counts in the database plus invocation activity. Helps developers understand what is in their game and their database.
type GmAppDiagnostics {
appId: BigInt!
containerCount: Int!
propertyCount: Int!
edgeCount: Int!
sessionCount: Int!
functionCount: Int!
automationCount: Int!
eventCount: Int!
events24h: Int!
failedEvents24h: Int!
automationEvents24h: Int!
notificationsEmitted24h: Int!
notificationsUndeliverable24h: Int!
topFunctions: [GmTopFunction!]!
}
Fields
GmAppDiagnostics.appId ● BigInt! non-null scalar
The app (tenant).
GmAppDiagnostics.containerCount ● Int! non-null scalar
Container instances in the app.
GmAppDiagnostics.propertyCount ● Int! non-null scalar
Property rows in the app.
GmAppDiagnostics.edgeCount ● Int! non-null scalar
Edge rows in the app.
GmAppDiagnostics.sessionCount ● Int! non-null scalar
Sessions in the app.
GmAppDiagnostics.functionCount ● Int! non-null scalar
Defined functions.
GmAppDiagnostics.automationCount ● Int! non-null scalar
Defined automations.
GmAppDiagnostics.eventCount ● Int! non-null scalar
Total event-log rows (all time).
GmAppDiagnostics.events24h ● Int! non-null scalar
Event-log rows in the last 24h.
GmAppDiagnostics.failedEvents24h ● Int! non-null scalar
Failed invocations in the last 24h.
GmAppDiagnostics.automationEvents24h ● Int! non-null scalar
Automation-driven invocations in the last 24h.
GmAppDiagnostics.notificationsEmitted24h ● Int! non-null scalar
Model-driven notifications emitted in the last 24h, across every function and automation.
GmAppDiagnostics.notificationsUndeliverable24h ● Int! non-null scalar
Of those, how many reached nobody: the target channel had no members in this app. Emission is best-effort and cannot fail your function, so this is the only place an undeliverable notification is visible — a non-zero count here beside a healthy run history is the signature of a notification aimed at a channel this app does not own. Check gameModelLint for NOTIFICATION_CHANNEL_FOREIGN, which names the function. Note this does NOT mean delivery is broken: it counts datagrams that were sent to every server successfully and had no recipient.
GmAppDiagnostics.topFunctions ● [GmTopFunction!]! non-null object
Most-invoked functions in the last 24h.
Returned By
gameModelAppDiagnostics query