Low commit activity in last 3 years
No release in over a year
Define limits and see if Sidekiq is running within those.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

 Project Readme

IsMySidekiqOk

Gem Version Gem Downloads

IsMySidekiqOk answers the question: is your Sidekiq ok? Define limits, and then if Sidekiq is running within those limits, you get a :success 200 response, otherwise you get a 500 error response. Can be used with Rails > 5.2. *You can customize the response code.

Usage

How to use my plugin.

Installation

Add this line to your application's Gemfile:

gem 'is_my_sidekiq_ok'

Mount the engine to get the route (routes.rb):

mount IsMySidekiqOk::Engine => '/is_my_sidekiq_ok'

And then execute:

$ bundle

Or install it yourself as:

$ gem install is_my_sidekiq_ok

And now just hit that endpoint!

Though you'll probably also want to configure the gem. This gem has the following settings:

# success
setting :status_symbol, :ok
# failior
setting :error_symbol, :internal_server_error
# Sidekiq instances running, fail if below this
setting :processes_size, 4
# below values will cause check to fail if exceeded
setting :default_queue_latency, 30
setting :workers_size, 0
setting :enqueued, 50

# name and password for basic auth
setting :name 
setting :password

Contributing

Contribution directions go here.

License

The gem is available as open source under the terms of the MIT License.