Healthcheck endpoint for workers
- Dominant language
- Python
- Stars
- 46.9k
- Forks
- 17.8k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 483
Description
**Description**
Now that the worker only responds to requests signed by the webserver (#16754), we should consider adding a health endpoint to the worker to help ensure it is up and healthy.
**Use case / motivation**
Users may want to have external monitoring on the workers logging webserver and having something that responds with a 200 instead of a 403 would be handy.
https://github.com/apache/airflow/pull/16754#issuecomment-885661439
**Related Issues**
#16574
Contributor guide
Research direction
Start by reading the worker request-handling changes in #16754 and the related issue #16574 to understand the current signed-request behavior. Define and implement the health endpoint so external monitoring receives HTTP 200 while ordinary worker requests remain protected, then verify both responses with the relevant worker tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100