Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Run Duration in React #37735

Merged
merged 2 commits into from Feb 29, 2024
Merged

Add Run Duration in React #37735

merged 2 commits into from Feb 29, 2024

Conversation

bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented Feb 27, 2024

Similar to task duration but for dag runs. At first this was to replace the Landing Time chart, which made more sense at a dag run level vs a task instance level. But instead decided to make it a full view and allow users to toggle Landing Times on/off.

Screenshot 2024-02-26 at 11 05 40 PM

Feb-26-2024 23-05-27

(This is a daily dag with an old start_date and catchup is true)
Screenshot 2024-02-26 at 11 04 32 PM

You can also see queued time for a dag run:
Screenshot 2024-02-29 at 10 01 55 AM


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@bbovenzi bbovenzi added this to the Airflow 2.9.0 milestone Feb 27, 2024
@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Feb 27, 2024
@bbovenzi bbovenzi marked this pull request as draft February 27, 2024 05:51
@tirkarthi
Copy link
Contributor

+1 to this. I guess with the migration from tree to grid view sort of gives the dag run duration as a mini chart. It will help in seeing landing times where difference between scheduled run and start time is also useful and also porting the old server rendered html page.

@bbovenzi bbovenzi marked this pull request as ready for review February 29, 2024 15:02
Copy link
Contributor

@jscheffl jscheffl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested it, works like advertised, very cool!

@jscheffl
Copy link
Contributor

Do we need to adjust Docs or update screenshots in Docs with this PR? Otherwise LGTM!

@bbovenzi
Copy link
Contributor Author

Do we need to adjust Docs or update screenshots in Docs with this PR? Otherwise LGTM!

I'll do an audit of our docs before 2.9 comes out. I still need to get rid of the old page and make some other visual changes.

@bbovenzi bbovenzi merged commit 6afe26c into apache:main Feb 29, 2024
56 checks passed
@bbovenzi bbovenzi deleted the react-landing-time branch February 29, 2024 21:54
abhishekbhakat pushed a commit to abhishekbhakat/my_airflow that referenced this pull request Mar 5, 2024
* Create run duration page

* Remove tasks from dag run duration, fix bar chart opacity
@utkarsharma2 utkarsharma2 added the type:improvement Changelog: Improvements label Mar 6, 2024
utkarsharma2 pushed a commit to astronomer/airflow that referenced this pull request Apr 22, 2024
* Create run duration page

* Remove tasks from dag run duration, fix bar chart opacity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants