Skip to main content

health

Method
This is a method of the GatewayProtocol class in the protocols module.
Get gateway health status.

Signature

def health() -> Dict[str, Any]

Returns

Returns
Dict[str, Any]
  • status: “healthy” or “unhealthy”
    • uptime: Seconds since start
    • agents: Number of registered agents
    • sessions: Number of active sessions
    • clients: Number of connected clients