You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create unified health check resource for every components
Disable logging access footage of health check resource
Extend health check API handler implementation to report connection status of each dependent components (redis, etcd, ...)
Though we already have HTTP resources dedicated for reporting its current health on some components (e.g. GET / for manager), for ease of management, let's create a unified health check method across every Backend.AI services with HTTP server. Key requirements are:
Health check request should be called by GET /health
Response should be formed as:
name of the component and its version in JSON format when Accept request header contains application/json
204 No Content otherwise
Access log to the health check resource should not be posted since otherwise it will spam the whole log
Alternative ideas
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
kyujin-cho
changed the title
Set up explicit health check resources for HTTP services
Define explicit health check resources for HTTP services
Sep 6, 2024
Main idea
Though we already have HTTP resources dedicated for reporting its current health on some components (e.g.
GET /
for manager), for ease of management, let's create a unified health check method across every Backend.AI services with HTTP server. Key requirements are:GET /health
Accept
request header containsapplication/json
204 No Content
otherwiseAlternative ideas
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: