Monitors Sidekiq, a library for processing background jobs.
- Pending jobs number
- Total failed jobs number
- Number of processed jobs
In order to use this plugin, you must have an active New Relic account. Also, you should be able to use json-1.8.0, since it is required by newrelic_plugin gem.
- Ruby (>= 1.8.7)
- Bundler
- Sidekiq
- Json (= 1.8.0)
- Run
bundle install
to install required gems - Copy
config/newrelic_plugin.yml.example
toconfig/newrelic_plugin.yml
- Edit
config/newrelic_plugin.yml
and replace "YOUR_LICENSE_KEY_HERE" with your New Relic license key
In order to check your configuration, you can launch the plugin in foreground mode, with all output going to stdout:
./newrelic_sidekiq_agent
Carefully check plugin's output for any possible error messages. In case of success, collected data should appear in the New Relic user interface shortly after starting.
Plugin can also be started as a daemon using the following command:
./newrelic_sidekiq_agent.daemon start
In this case you can check its status by running
./newrelic_sidekiq_agent.daemon status
and stop it with
./newrelic_sidekiq_agent.daemon stop
This project was forked from mscifo/newrelic_sidekiq_agent and it is under the MIT License.