Hey everyone,

Teghveer (Tegh25) and I are MLH (Major League Hacking) Fellows working on
Airflow, and we just merged the health endpoint improvements discussed in
this thread
<https://lists.apache.org/thread/l1b1wkxs69omjsb8cwdryr2oydjmn3yg>,
implemented in PR #70416
<https://github.com/apache/airflow/pull/70416#event-30164756803>.

Previously, the /health endpoint reported a single aggregated status per
component, driven by the health of just one instance, so a distributed
component with a mix of healthy and unhealthy would only show healthy
instead of reporting something more meaningful. This PR replaces that with
per-instance reporting rolled up into a three-tier status: healthy →
degraded → down, where degraded means at least one instance is up and at
least one is down.

Each instance now reports additional context relevant to its component type
(host_name, team_name, bundle_name, etc.), and we added team_name to
triggerer jobs and bundle_name to DAG processor jobs on the Job table via a
new migration. And test cases were updated!

Thanks,

Andrew Kim

(PS Big shoutout to Dennis for all his review, help, and mentorship
throughout the entire fellowship! He was a huge reason we could make
meaningful contributions this summer and the best, coolest mentor we could
ask for. Thank you Dennis!)

Reply via email to