HealthStatus
Point-in-time snapshot of gateway health and its broker connection.
environmentstringrequired
Deployment environment: development, staging or production.
Example:
productionnats_connectedbooleanrequired
Whether the gateway currently holds a NATS JetStream connection. When
false, accepted events are buffered rather than published.
servicestringrequired
Service identifier, useful when several Nerve components sit behind one load balancer.
Example:
nerve-gatewaystatusstringrequired
OK while the process is accepting work, DRAINING once a termination
signal has been received and the in-flight drain has begun.
Example:
OKuptime_secondsinteger<int64>required
Seconds since this process finished booting.
Possible values: >= 0
Example:
86400versionstringrequired
Semantic version of the running binary, taken from Cargo.toml.
Example:
0.1.0HealthStatus
{
"environment": "production",
"nats_connected": true,
"service": "nerve-gateway",
"status": "OK",
"uptime_seconds": 86400,
"version": "0.1.0"
}