django-rq
django-rq copied to clipboard
can we expose /metrics in django-rq?
Hi, I want to use Prometheus to collect metrics of rq.
we have https://github.com/mdawar/rq-exporter already, but I don't like the idea that we need to a separate wsgi app(process) to achieve this, since we already have django.
Can we expose metrics from django-rq?
Definitely, can you open a PR for this? Probably a simple view displaying metrics for one of the selected queues.
OK for queues I want to make it default to expose all queues but configurable via settings
.
I think having this as a config is not very useful. Better to show all queues and allow users to select which queues they want to show and refresh the page.
On Aug 24, 2021, at 2:12 PM, laixintao @.***> wrote:
OK for queues I want to make it default to expose all queues but configurable via settings.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.