Parallels / rq-dashboard

Flask-based web front-end for monitoring RQ queues
http://python-rq.org/
Other
1.45k stars 328 forks source link

Question: showing pending/finished tasks in Flask Blueprint? #365

Open mstenta opened 4 years ago

mstenta commented 4 years ago

Hi I'm experimenting with rq-dashboard (so helpful!). I started with the Docker image to test it out, and then tried the Flask blueprint in an existing app. When I look at the dashboard served via the blueprint, however, I can't seem to view pending/finished/failed jobs. I can see my queue in the "Queues" pane, but it always says "0" in the Jobs column. Nevertheless, things are working fine otherwise - jobs are being processed.

Notably, When I click on the name of my queue, it seems to just show the same general dashboard. Should it be showing something different (eg: a page with more detailed information about all the jobs)? Is this a clue to what's causing this issue on my end?

Side question: why do the Docker image and blueprint approaches look different in their UI? Are they on different versions? Could this be related to my issue? The Docker image is able to show all my jobs, pending, finished, failed etc.

mstenta commented 4 years ago

The help text says:

This list below contains all the registered queues with the number of jobs currently in the queue. Select a queue from above to view all jobs currently pending on the queue.

So I think it's just an issue clicking on the individual queue to get more details, in my case. Any help/advice to debug would be appreciated!

I wonder if it is related to the fact that I am trying to add this to a Flask Admin app?

mstenta commented 4 years ago

I wonder if it is related to the fact that I am trying to add this to a Flask Admin app?

Tested in another app (not Flask Admin) and have the same issue.