Sidekiq monitoring web applications configured as standalone apps for GOV.UK
Ruby HTML
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
public
.ruby-version
Gemfile
Gemfile.lock Run bundle update Apr 9, 2018
Jenkinsfile Update Jenkinsfile to use external library Mar 2, 2018
Procfile
README.md
config.ru

README.md

Sidekiq monitoring

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.

Prerequisites

Installation

Clone the repository:

$ git clone git@github.com:alphagov/sidekiq-monitoring.git

Setup the application:

$ ./bin/setup

Configuration

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.

Usage

To monitor a specific application:

$ ./bin/foreman run publisher

To monitor all applications:

$ ./bin/foreman start