Skip to main content

GraphQLServer

A registered GraphQL server instance (management-api or game-api) with its network addresses, health metrics, and lifecycle state.

type GraphQLServer {
graphqlServerId: ID!
kind: String
ip4: String
ip6: String
runtimeServerId: String
providerInstanceId: String
publicIp4: String
publicIp6: String
apiPort: Int!
status: ServerState!
cpuUsagePct: Float
memoryUsagePct: Float
loadAverage1m: Float
createdAt: DateTime!
updatedAt: DateTime!
}

Fields

GraphQLServer.graphqlServerId ● ID! non-null scalar

Auto-incrementing server registry id.

GraphQLServer.kind ● String scalar

Logical kind of GraphQL service: 'management-api' or 'game-api'.

GraphQLServer.ip4 ● String scalar

GraphQLServer.ip6 ● String scalar

GraphQLServer.runtimeServerId ● String scalar

GraphQLServer.providerInstanceId ● String scalar

GraphQLServer.publicIp4 ● String scalar

GraphQLServer.publicIp6 ● String scalar

GraphQLServer.apiPort ● Int! non-null scalar

TCP port the GraphQL API listens on (default 4000).

GraphQLServer.status ● ServerState! non-null enum

Lifecycle state. Only ReadyForClients servers should receive client traffic (see activeGraphQLServers).

GraphQLServer.cpuUsagePct ● Float scalar

Most recently reported CPU utilization, as a percentage (0–100).

GraphQLServer.memoryUsagePct ● Float scalar

Most recently reported memory utilization, as a percentage (0–100).

GraphQLServer.loadAverage1m ● Float scalar

1-minute load average reported by the host.

GraphQLServer.createdAt ● DateTime! non-null scalar

GraphQLServer.updatedAt ● DateTime! non-null scalar

Returned By

activeGraphQLServers query ● graphqlServers query