You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/12/04 10:36:00 UTC

[jira] [Commented] (AIRFLOW-6095) Task stats endpoint is slow and returns a large payload

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

ASF GitHub Bot commented on AIRFLOW-6095:
-----------------------------------------

ashb commented on pull request #6684: [AIRFLOW-6095] Filter dags returned by task_stats
URL: https://github.com/apache/airflow/pull/6684
 
 
   
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> 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
>
> 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)