You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/01/07 16:28:30 UTC
[GitHub] Mokubyow commented on issue #4309: [AIRFLOW-3504] Extend/refine the
functionality of "/health" endpoint
Mokubyow commented on issue #4309: [AIRFLOW-3504] Extend/refine the functionality of "/health" endpoint
URL: https://github.com/apache/airflow/pull/4309#issuecomment-451993107
Emmanual Bard brought up a good point about the scheduler health check. What you have only checks the last scheduled run, not the scheduler heartbeat which is what we really want to know. The query should look something like this:
```select
max(latest_heartbeat) from job
where job_type = 'SchedulerJob'
and state = 'running'```
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services