apache / apache/airflow

Add REST API metrics (latency, QPS, errors)

Open
#56,034 10 comments 0 reactions 1 assignee Claimed by @henry3260 View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.