checkHealth()
This operation checks the health status of the Milvus server.
await milvusClient.checkHealth()
Request Syntax
milvusClient.checkHealth()
RETURN TYPE:
Promise<CheckHealthResponse>
RETURNS Promise
This method returns a promise that resolves to a CheckHealthResponse object.
{
isHealthy: boolean,
reasons: string[]
}
PARAMETERS:
isHealthy (boolean) -
A boolean that indicates whether all critical components of the Milvus deployment are healthy.
reasons (string[]) -
When isHealthy is false, a list of human-readable reasons explaining which components are unhealthy. The list is empty when isHealthy is true.
Examples
milvusClient.checkHealth()