kaxil commented on issue #4309: [AIRFLOW-3504] Extend/refine the functionality 
of "/health" endpoint
URL: 
https://github.com/apache/incubator-airflow/pull/4309#issuecomment-448033753
 
 
   It would be good if we can get a standard response as:
   
   ```json
   {
     "scheduler": {
       "status": "unhealthy",
       "latest_scheduler_run": "2018-12-26 17:15:11+00:00"
     },
     "webserver": {
       "status": "unhealthy"
     },
     "metadatabase": {
       "status": "unhealthy",
       "open_connections": "8"
     }
   }
   ```
   
   And some documentation on the possible status for each.
   
   It would be even better to have a `metrics` endpoint with something like 
Prometheus. (Not scope of this PR - but good to have in future - Note: we 
already have statsd)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to