Add REST API metrics (latency, QPS, errors)
Open
area:API
good first issue
kind:feature
- Dominant language
- Python
- Stars
- 46.9k
- Forks
- 17.8k
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 483
Description
### Description
Currently, Airflow’s REST API does not emit any metrics. It would be valuable to have basic API metrics for observability.
### Use case/motivation
- Track API performance (p95/p99 latency).
- Monitor usage patterns (QPS per endpoint).
- Alert on failures (error spikes).
### Related issues
_No response_
### Are you willing to submit a PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
Contributor guide
Assessment
This issue has not been assessed yet.