pranavgupta1234/rqmonitor

Can I integrate this inside flask?

amks1 opened this issue · 2 comments

amks1 commented

I want to make a route within flask to access the dashboard (mainly to use my own authentication). Do you have any documentation for this?

You can use rqmonitor as flask blueprint

from rqmonitor.bp import monitor_blueprint

and then can be mounted at some prefix

app.register_blueprint(monitor_blueprint, url_prefix="/rqmonitor")

with some other configurations you can get this working. More on flask blueprints here

amks1 commented

Thanks, I got it working from flask, haven't tried authentication yet. I noticed that in the worker's screen, there are no workers registered and it says "Loading" continuously.

image

In RQ dashboard, the worker shows correctly:
image