Closed celianvdb closed 1 year ago
Facing the same issue. This doesn't seem to run following the installation steps.
Hey @celianvdb - this does seem like strange behavior. Can you provide a little more info:
keys bull:*:meta
(or if you are using a different prefix use that instead). Share the output here.@datrinh if you could provide some more details that'd be really helpful (see my questions above for @celianvdb).
Hey, Thank you for your answer ! I finally could fix my issue by moving from bull to bullmq. But here is the answers ( before I moved to bullmq of course ) in case it could help to support bull too.
redis:7.0-alpine
{"@timestamp":"2022-12-03T21:21:55","context":"BullQueuesService","label":"bull-monitor","log":{"level":"info"},"message":"Redis connection READY! Configuring watchers for bull queues.","timestampDiff":"+1ms"}
{"@timestamp":"2022-12-03T21:21:55","context":"BullQueuesService","label":"bull-monitor","log":{"level":"info"},"message":"Redis config for notify-keyspace-events: ''","timestampDiff":"+1ms"}
{"@timestamp":"2022-12-03T21:21:55","context":"BullQueuesService","label":"bull-monitor","log":{"level":"info"},"message":"Updating notify-keyspace-events to '$AK'","timestampDiff":"+0ms"}
{"@timestamp":"2022-12-03T21:21:55","context":"BullQueuesService","label":"bull-monitor","log":{"level":"info"},"message":"Loading queues from queuePrefix: 'bull'","timestampDiff":"+1ms"}
{"@timestamp":"2022-12-03T21:21:55","context":"BullQueuesService","label":"bull-monitor","log":{"level":"info"},"message":"Pruning unused queues: <none>","timestampDiff":"+3ms"}
{"@timestamp":"2022-12-03T21:24:59","context":"BullQueuesService","label":"bull-monitor","log":{"level":"info"},"message":"Adding queue: bull:::payment","timestampDiff":"+0ms"}
{"@timestamp":"2022-12-03T21:24:59","context":"BullUiService","label":"bull-monitor","log":{"level":"info"},"message":"Adding queue to dashboard: payment","timestampDiff":"+5ms"}
{"@timestamp":"2022-12-03T21:24:59","context":"BullMetricsService","label":"bull-monitor","log":{"level":"info"},"message":"Adding queue metrics for bull-payment","timestampDiff":"+0ms"}
{"@timestamp":"2022-12-03T21:24:59","context":"BullQueuesService","label":"bull-monitor","log":{"level":"info"},"message":"Adding queue: bull:::notification","timestampDiff":"+0ms"}
{"@timestamp":"2022-12-03T21:24:59","context":"BullUiService","label":"bull-monitor","log":{"level":"info"},"message":"Adding queue to dashboard: notification","timestampDiff":"+1ms"}
{"@timestamp":"2022-12-03T21:24:59","context":"BullMetricsService","label":"bull-monitor","log":{"level":"info"},"message":"Adding queue metrics for bull-notification","timestampDiff":"+0ms"}
{"@timestamp":"2022-12-03T21:24:59","context":"BullQueuesService","label":"bull-monitor","log":{"level":"info"},"message":"Adding queue: bull:::stripeWebhook","timestampDiff":"+0ms"}
{"@timestamp":"2022-12-03T21:24:59","context":"BullUiService","label":"bull-monitor","log":{"level":"info"},"message":"Adding queue to dashboard: stripeWebhook","timestampDiff":"+0ms"}
{"@timestamp":"2022-12-03T21:24:59","context":"BullMetricsService","label":"bull-monitor","log":{"level":"info"},"message":"Adding queue metrics for bull-stripeWebhook","timestampDiff":"+0ms"}
Thanks for the info @celianvdb — yep this only works with bullmq queues. There’s no reason why this couldn’t be expanded to support bull (and bull pro which seems like it might not work either). A PR would be welcome—the code that looks for queues is located here:
https://github.com/ejhayes/bull-monitor/blob/main/src/bull/bull-queues.service.ts#L379
Since this looks to be sorted out now I’m going to go ahead and close this issue.
Hey I run keys bull:*:meta
but got empty array. Do you have any idea?
Hey @huyjack178 what version bull or bullmq are you using? This utility only supports bullmq
@ejhayes I used https://github.com/nestjs/bull
Hey ! First, thx for creating this tool !
I'm using since few months bull-dashboard but I was searching an alternative with more features. So on the paper your tool is perfect for my case :) So I started by adding it to my stack in my docker-compose file.
Here was my config for bullboard :
When I start my stack, everything looks fine, the dashboard is starting etc.. but it never detect my queues. ( It tested with bull-master UI, same issue ).
If I check on my old bullboard at the same time, the queues are here and I can see the jobs etc...
I only found a tricky method ( maybe more witchcraft ) to make it work. I restart my old bullboard while bull-monitor is running and then my queues are detected by bull-monitor. I don't have enough knowledge in bull to explain why but it works :shrug:
So my question is, how can I fix that ? Did I do something wrong in my configuration ? Here are the logs of bull-monitor.
Thx in advance :) Have a good day !