[ https://issues.apache.org/jira/browse/AIRFLOW-6238?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17022067#comment-17022067 ]
ASF subversion and git services commented on AIRFLOW-6238: ---------------------------------------------------------- Commit 33bc8e87fa7532c09d171421e6a8db53d04e4b60 in airflow's branch refs/heads/v1-10-test from Robin Edwards [ https://gitbox.apache.org/repos/asf?p=airflow.git;h=33bc8e8 ] [AIRFLOW-6238] Filter dags returned by dag_stats Add dag_ids parameter to the dag_stats end point and only request the dags on the current page. This is intended to speed up the response times for systems running a large number of DAGS. (cherry picked from commit 1b6128221536195f912dd813d427cceb3cdb6f7b) (cherry picked from commit 303f9babd2e6781c13cc4c98756b78753aa25480) > Dags stats endpoint is slow and returns a large payload > ------------------------------------------------------- > > Key: AIRFLOW-6238 > URL: https://issues.apache.org/jira/browse/AIRFLOW-6238 > Project: Apache Airflow > Issue Type: Improvement > Components: api, ui > Affects Versions: 2.0.0, 1.10.6 > Reporter: Robin Edwards > Priority: Minor > Fix For: 2.0.0 > > > The dag_stats endpoint returns all dags by default. This can result in an > extremely large payload ~ 3mb and slow response time when you have a lot of > dags (In our case 1500+). > The accompanying pull request adds a dag_ids get parameter to the dag_stats > end point which is populated by the dags present on the page. > Please see previous issue for task_stats AIRFLOW-6095 which has already been > merged with a similar solution -- This message was sent by Atlassian Jira (v8.3.4#803005)