Skip to content
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

Support statistics runtime of finished job #546

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.

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

Successfully merging this pull request may close these issues.

2 participants