Sidekiq comes with a Sinatra web interface that can be accessed through mydomain.com/sidekiq. You just need to install it according to these instructions (it differs depending on whether you use Passenger or Unicorn)
https://github.com/mperham/sidekiq/wiki/Monitoring
There is no API I know about, but you can easily iterate over Redis keys that store Sidekiq information to count the number of workers working in a particular queue
workers = redis.smembers("workers") workers.each do |worker| tokens = worker.split(":") machine = tokens[0] pid = tokens[1].split("-")[0] key = "worker:" + pid obj = redis.get(key)
source share