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
Automatic workflow duration prediction #2717
Comments
@dtaniwaki @sarabala1979 would it be possible do you think? |
could we solve by just adding duration to list view? |
I think we can have stats of workflow templates in RDB or somewhere and calculate the average, median and etc. and show it in the list view. But it may affect the performance of the controller. We may need to has an option to disable the feature. |
Actually, we want to use these stats in the scheduler and optimize the scheduling algorithm. For example, there is few resources available and a pod is waiting with high priority, now, a low priority pod came. If we can predict how long the pod runs, we can let it run before the high priority waiting pod. |
This specific use case I want to solve - seeing historical durations is shown in the UI already. |
There might be other things we want to aggregate, so I'll leave this open. |
#3558 produces a way to determine likely execution time and to dig into problems. |
Similar to #1658. |
…2717 (argoproj#4091) Signed-off-by: Alex Capras <alexcapras@gmail.com>
Signed-off-by: Alex Capras <alexcapras@gmail.com>
How do I enable this feature to see the estimation time on my UI? |
It is automatically enabled. It estimates based on the most recently completed workflow that used the same workflow template or cron workflow. |
Is it also possible to retrieve those metrics via the prometheus metrics endpoint? |
Short answer - no. |
Thx for your answer....although it's not the one I was hoping for ;) Maybe I will create the metric via a workaround which is using your api and pushes to prometheus... Thank you |
Summary
Users would like to be able to understand the how long similar workflows took to see if they start to take longer.
Motivation
When I'm using workflow templates, is this template taking longer to run?
Proposal
Add summary data of recent runs of the template status?
Related to #1658, #3557
Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.
The text was updated successfully, but these errors were encountered: