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

Integration with rq-scheduler?

Open lost-theory opened this issue 10 years ago • 8 comments

Hello,

Do you know if there is any work on integrating rq-dashboard with rq-scheduler? Would you accept a PR?

For instance, if a conditional import for rq_scheduler works, then a new section would be added to the web interface containing details on scheduled jobs. It would be optional.

It may also be possible to take the blueprint from this package and use it in a new flask app that contains the rq-scheduler functionality (as a separate package or something, if you don't want rq-scheduler code to live in this project).

Anyway, just wanted to see what other folks thought, since it'd be nice to see both in one web interface.

lost-theory avatar Nov 06 '14 01:11 lost-theory

What's the best way of making additional charts and tools pluggable?

mtsgrd avatar Jan 16 '15 05:01 mtsgrd

This would be fantastic.

tyler274 avatar Mar 19 '15 13:03 tyler274

I agree 100% that this would be awesome. To avoid having a dependency on rq-scheduler, it might be best to actually pass an instance of Scheduler to the dashboard.

joostdevries avatar Jun 04 '15 09:06 joostdevries

I think an "rq-scheduler-dashboard" should be a separate Flask blueprint from the current rq-dashboard, and should probably be a separate package at least initially.

If rq-scheduler became closer to rq then this would motivate bringing the dashboards together too. But the fact that it was easy and clean to add the scheduler on top of rq says something. Basically I think each dashboard should be free to track the features of the corresponding underlying component.

So if someone first made a standard alone scheduler dashboard in a separate Flask blueprint, we could then see how well the two sat next to one another before thinking about bringing them closer. It needs a first date!!

tcorbettclark avatar Jun 06 '15 16:06 tcorbettclark

I had a need for this as well so I took the changes from @helenst made in #95 and wrapped them up into a separate rq-scheduler-dashboard package. All credit to @helenst, this dashboard is very useful!

lamflam avatar Apr 26 '16 16:04 lamflam

Can you provide a screenshot for this dashboard?

ducu avatar Apr 26 '16 17:04 ducu

@docu Added a screenshot to the readme.

lamflam avatar Apr 26 '16 17:04 lamflam

Looks good, I also made some tweaks to the dashboard that I found useful (https://github.com/ducu/rq-dashboard/pull/94), it would be nice to harmonize and merge these improvements. Vincent transferred this repo to me, I would be happy to get things moving, pull requests are welcome.

ducu avatar Apr 26 '16 20:04 ducu