Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6238

Dags stats endpoint is slow and returns a large payload

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 1.10.6
    • Fix Version/s: 1.10.8
    • Component/s: api, ui
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              robinedwards Robin Edwards
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: