You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Have tasks in graph view show % of total execution time for that run? #62935
In graph view, show the % of that tasks' execution time compared to total execution time of the dagrun. I've also seen other cases where a small bar graph is shown in the task rectangle but I think % is probably good enough.
it would be really helpful to see at a glance from the graph view which tasks are taking the longest.
Suggestion: We have some white space below the gantt view. My proposal is to use that instead and have a line chart mapping the duration of each task. (show duration of each task as a separate line in the chart). This could be like an observability section where user can play around with different metrics and see trends ?
This way, it would be helpful to debug any anomalies etc.
Does a gantt view help here in finding the task instance duration distribution among a dagrun?
It's helpful but sometimes it's easier to look at the graph view for more complicated dags (with branching, etc).
in ssms (unrelated to orchestration but might be helpful), they have a percentage in execution plans in a graph view. implementation is up to you all (small line graph, or percentages or other).
Following up on the idea of more charts on the Overview tab. Here is a Slowest tasks chart: for a run, it ranks the tasks by how long they took, colours each bar by state, and labels it with the duration and its share of the run. It shows the top 10, so it stays readable from 3 tasks up to thousands.
Rendered in the real Dag Overview with mock data, light and dark:
Does this direction look right? If so, I will open a PR. Happy to adjust where it lives (Dag Overview or a single run's page) and whether it summarises one run or an average across recent runs, based on what you prefer.
Drafted-by: Claude Code (Opus 4.8); reviewed by @eddiesr93 before posting
Activity
tirkarthi commentedon Mar 8, 2026
Does a gantt view help here in finding the task instance duration distribution among a dagrun?
https://www.astronomer.io/docs/learn/airflow-ui#dag-views
Prajwal7842 commentedon Mar 8, 2026
Suggestion: We have some white space below the gantt view. My proposal is to use that instead and have a line chart mapping the duration of each task. (show duration of each task as a separate line in the chart). This could be like an observability section where user can play around with different metrics and see trends ?
This way, it would be helpful to debug any anomalies etc.
bbovenzi commentedon Mar 11, 2026
This dag in question has only three tasks but other dags have 10000 tasks so addign space below the gantt isn't necessarily reliable.
We totally should add more charts to the Overview tab though!
match-gabeflores commentedon Mar 11, 2026
It's helpful but sometimes it's easier to look at the graph view for more complicated dags (with branching, etc).
in ssms (unrelated to orchestration but might be helpful), they have a percentage in execution plans in a graph view. implementation is up to you all (small line graph, or percentages or other).
eddiesr93 commentedon Jul 22, 2026
Following up on the idea of more charts on the Overview tab. Here is a Slowest tasks chart: for a run, it ranks the tasks by how long they took, colours each bar by state, and labels it with the duration and its share of the run. It shows the top 10, so it stays readable from 3 tasks up to thousands.
Rendered in the real Dag Overview with mock data, light and dark:
Does this direction look right? If so, I will open a PR. Happy to adjust where it lives (Dag Overview or a single run's page) and whether it summarises one run or an average across recent runs, based on what you prefer.
Drafted-by: Claude Code (Opus 4.8); reviewed by @eddiesr93 before posting
match-gabeflores commentedon Jul 22, 2026
Very helpful! Yes, something like that would help determine bottlenecks and tasks to review
eddiesr93 commentedon Jul 23, 2026
Opened #70305 with an aggregate take: median duration per task across recent runs, on the Dag Overview.
Drafted-by: Claude Code (Opus 4.8); reviewed by @eddiesr93 before posting
bbovenzi commentedon Oct 1, 2026
Closing since we added the new charts