Calculate run duration with current time for running tasks in task and dag duration charts #38215
Closed
2 tasks done
Labels
kind:feature
Feature Requests
Description
Currently when a task instance is under execution there is start date but no end date. Hence in the charts run duration is calculated as 0 and the bar remains with 0 value. But in the grid the duration is calculated with current time - start date. The same change can be applied so that users know the task run duration and it also gives a growing bar which gives nice feedback with respect to average time.
We have a patch for this internally and will be happy to contribute.
Current bar remains zero till task finishes :
Proposed change to calculate run duration with current time :
Use case/motivation
It helps users know the task run duration visualized in the chart and it also gives a growing bar which gives nice feedback with respect to average time.
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
The text was updated successfully, but these errors were encountered: