Reputation: 69
We want to monitor our Sidekiq process and see if some of them are failing. This normally leads to a situation where a Sidekiq-job hangs forever, in case there's an error.
My question is now, how can I get via redis-cli the number of jobs, which have been in the queue for more than 5 minutes?
Upvotes: 0
Views: 410
Reputation: 22228
You cannot do exactly what you ask. Read this:
How to monitor your queue latency https://github.com/mperham/sidekiq/wiki/Monitoring#monitoring-queue-latency
Upvotes: 0