Sidekiq monitoring web applications configured as standalone apps for GOV.UK
Sidekiq monitoring is a web application that uses Sidekiq’s monitoring tool to monitor multiple Sidekiq configurations used throughout GOV.UK.
Sidekiq holds its Redis configuration globally so we have to run a separate Rack server for each application. These are defined in the Procfile.
Clone the repository:
$ git clone firstname.lastname@example.org:alphagov/sidekiq-monitoring.git
Setup the application:
The application takes its Redis configuration from the environment. It expects keys to be prefixed with the identifier of the application to be monitored. A ‘dummy’ application would require DUMMY_REDIS_HOST and DUMMY_REDIS_PORT.
To monitor a specific application:
$ ./bin/foreman run publisher
To monitor all applications:
$ ./bin/foreman start