[ 
https://issues.apache.org/jira/browse/AIRFLOW-6095?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16988715#comment-16988715
 ] 

ASF subversion and git services commented on AIRFLOW-6095:
----------------------------------------------------------

Commit 87b321f1488d74e8c4d621835917179cfcc70d4d in airflow's branch 
refs/heads/v1-10-test from Robin Edwards
[ https://gitbox.apache.org/repos/asf?p=airflow.git;h=87b321f ]

[AIRFLOW-6095] Filter dags returned by task_stats (#6684)

Add dag_ids parameter to task_stats so can filter by a set of dag_ids
present on the dags view. This is intended to speed up the response time
and reduce the size of the payload when running a large number of dags.

(Merged on to release branch by PR#6730)

(cherry picked from commit 2b11f55b406d38b59c3062ad75826ad6c1b1fdb9)

> Task stats endpoint is slow and returns a large payload
> -------------------------------------------------------
>
>                 Key: AIRFLOW-6095
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-6095
>             Project: Apache Airflow
>          Issue Type: Improvement
>          Components: api, ui
>    Affects Versions: 2.0.0, 1.10.6
>            Reporter: Robin Edwards
>            Assignee: Robin Edwards
>            Priority: Minor
>             Fix For: 1.10.7
>
>
> The task_stats endpoint returns all dags by default. This can result in an 
> extremely large payload ~ 8mb and slow response time when you have a lot of 
> dags (In this case 1500+).
> The accompanying pull request adds a dag_ids get parameter to the task_stats 
> end point which is populated by the dags present on the page.
> If this is accepted I intend to provide the equivalent change to the 
> dag_stats and last_dagruns endpoints



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to