santileira opened a new issue, #57492:
URL: https://github.com/apache/airflow/issues/57492
### Apache Airflow version
Other Airflow 2/3 version (please specify below)
### If "Other Airflow 2/3 version" selected, which one?
3.0.4
### What happened?
Airflow Stats for "Failed dags" is inconsistent with History. On Stats, I
see "1 Failed dags" but on History, I see "O Failed".
Network request to get "Dag Stats"
```
URL: GET ui/dashboard/dag_stats
Response:
{
"active_dag_count": 12,
"failed_dag_count": 1,
"running_dag_count": 0,
"queued_dag_count": 0
}
```
And network request to get "History".
```
URL: GET
ui/dashboard/historical_metrics_data?start_date=2025-10-28T14%3A36%3A26.330Z
Response:
{
"dag_run_types": {
"backfill": 0,
"scheduled": 10,
"manual": 0,
"asset_triggered": 0
},
"dag_run_states": {
"queued": 0,
"running": 0,
"success": 10,
"failed": 0
},
"task_instance_states": {
"no_status": 0,
"removed": 0,
"scheduled": 0,
"queued": 0,
"running": 0,
"success": 36,
"restarting": 0,
"failed": 0,
"up_for_retry": 0,
"up_for_reschedule": 0,
"upstream_failed": 0,
"skipped": 0,
"deferred": 0
}
}
```
<img width="1278" height="785" alt="Image"
src="https://github.com/user-attachments/assets/28bfab39-dc14-4164-a756-ef72ec0161d6"
/>
Do you know if this is a BUG or a misunderstanding of the UI?
Thanks
### What you think should happen instead?
"Stats" and "History" should show the same value.
### How to reproduce
1. Go the "Welcome" page
2. Check the difference between "Stats" and "History" sections.
### Operating System
Debian GNU/Linux 12 (bookworm)
### Versions of Apache Airflow Providers
```
airflow@airflow-dags$ pip freeze | grep apache-airflow-providers
apache-airflow-providers-amazon==9.15.0
apache-airflow-providers-cncf-kubernetes==10.6.2
apache-airflow-providers-common-compat==1.7.4
apache-airflow-providers-common-io==1.6.3
apache-airflow-providers-common-sql==1.28.1
apache-airflow-providers-fab==3.0.0
apache-airflow-providers-grpc==3.8.2
apache-airflow-providers-http==5.3.4
apache-airflow-providers-mysql==6.3.4
apache-airflow-providers-slack==9.3.0
apache-airflow-providers-smtp==2.3.1
apache-airflow-providers-standard==1.9.0
```
### Deployment
Official Apache Airflow Helm Chart
### Deployment details
We use helm, k8s and argo
### Anything else?
_No response_
### Are you willing to submit PR?
- [x] 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)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]