Skip to content

Support statistics runtime of finished job #546

New issue

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

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

Already on GitHub? # to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

yyaadet
Copy link

@yyaadet yyaadet commented Aug 31, 2022

I add a new command named rq_runtime to display runtime of functions. And inset a new column ended in the jobs list page.

@selwin
Copy link
Collaborator

selwin commented Nov 5, 2022

@yyaadet I cherry-picked your commit that shows job.ended_at in this #557 . I'm not sure about iterating through all jobs in FinishedJobRegistry and averaging it on the fly.

If we were to have registry level statistics, I think we should build it into RQ proper, like Worker statistics.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants