-
What is the best way to inspect or monitor the number of connected and available workers in bullMQ? The use case for this data:
Additionally, monitoring or polling queue size and worker count could be useful for tuning my autoscaling primitives. Any ideas or pointers appreciated! |
Beta Was this translation helpful? Give feedback.
Answered by
manast
Mar 11, 2024
Replies: 1 comment 1 reply
-
You can use getWorkers: https://api.docs.bullmq.io/classes/v5.Queue.html#getWorkers |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
bcomnes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use getWorkers: https://api.docs.bullmq.io/classes/v5.Queue.html#getWorkers