-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Showing Task State in Gantt Chart? #28341
Comments
Thanks for opening your first issue here! Be sure to follow the issue template! |
We do have |
Hello @yxiao1996, Good idea! I see you are willing to contribute, assigning you :) |
thanks for the comments. wip.... |
Hi team, I looked into the code a little bit, want to check with you about the general approach before making the change. Seems like I should be able to retrieved the Am I making sense? |
Yes, that sounds about right. And the class will just be |
Hi, I think I'm getting close to put up a PR. I noticed that the queued_dttm is already passed to the UI through this line so I'm only changing the javascript. I'm curious are there any tests I need to created for this new feature? I don't see on the surface there's any tests for these javascripts. Also, is there a template I need to follow for PR? Thanks, |
Here's a snapshot of this feature in my dev environment. Basically I'm drawing these gray boxes for tasks instances with non-null queued_dttm, also add a tooltip on the queued state box to provide related info. Curious do you guys have any comments on how this should look? @bbovenzi @pierrejeambrun |
Looks great! I'd say open a PR so we can can a closer look. If it's not fully ready, open it up as a draft. |
Looks nice! |
Description
Hi team,
Recently I've been working on using Airflow to orchestrate some of my teams ETL jobs. Lately I run into some performance issue and noticed that the Gantt chart feature is a pretty handy tool for understanding long running DAG runs. I observed large gaps between tasks in the Gantt chart, showing there's a resource bottleneck. However, it seems like the Gantt chart only tracks "running" state of the tasks, so I was not able to fully pin-point whether the bottleneck is the worker(tasks being "queued" for a long time) or the scheduler(tasks being in "no_status" for a long time). So I'm thinking about if airflow could track different task state in the Gantt chart, it would be easier for users to troubleshoot similar issues.
Please educate me if my understanding is wrong.
Thanks,
Yu
Use case/motivation
By having task state tracking in Gantt chart, it would be easier for airflow users to troubleshoot performance issue in DAG's.
Related issues
n/a
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: