django-rq icon indicating copy to clipboard operation
django-rq copied to clipboard

Support statistics runtime of finished job

Open yyaadet opened this issue 3 years ago • 1 comments

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

yyaadet avatar Aug 31 '22 06:08 yyaadet

@yyaadet I cherry-picked your commit that shows job.ended_at in this https://github.com/rq/django-rq/pull/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.

selwin avatar Nov 05 '22 01:11 selwin