Validate coordinator health/availability

is there a way to check coordinator and workers health and availability? (e.g. REST api like url/availability )

http://coordinator_host:8080/v1/info/state “ACTIVE” and http://coordinator_host:8080/ui/api/stats
returns:

{ 
   "runningQueries":0,
   "blockedQueries":0,
   "queuedQueries":0,
   "activeWorkers":1,
   "runningDrivers":0,
   "totalAvailableProcessors":1,
   "reservedMemory":0.0,
   "totalInputRows":20009,
   "totalInputBytes":776672,
   "totalCpuTimeSecs":11
}

http://localhost:8080/v1/info and http://localhost:8080/v1/status are typically used for readiness and liveness probes.

{
  "nodeVersion": {
    "version": "365"
  },
  "environment": "mm_demo",
  "coordinator": true,
  "starting": false,
  "uptime": "1.56m"
}
1 Like