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

Can I integrate this inside flask? #27

Open
amks1 opened this issue Aug 14, 2021 · 2 comments
Open

Can I integrate this inside flask? #27

amks1 opened this issue Aug 14, 2021 · 2 comments

Comments

@amks1
Copy link

amks1 commented Aug 14, 2021

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?

@pranavgupta1234
Copy link
Owner

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
Copy link
Author

amks1 commented Aug 15, 2021

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

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

No branches or pull requests

2 participants