Sidekiq::Opentsdb

Sidekiq middleware that sends useful Sidekiq statistics to OpenTSDB.
Installation
Add this line to your application's Gemfile:
gem 'sidekiq-opentsdb'
And then execute:
$ bundle
Usage
You need to add the middleware to your call stack. To do so, put the folllowing code in an initializer (ideally sidekiq.rb
):
Sidekiq.configure_server do |config|
config.server_middleware do |chain|
middleware_options = {
opentsdb_hostname: 'localhost',
opentsdb_port: '4242',
metric_prefix: 'nine',
only: %w(retry_size dead_size)
}
chain.add Sidekiq::Opentsdb::ServerMiddleware, middleware_options
end
end
Available Options
opentsdb_hostname: 'localhost'
opentsdb_port: '4242'
metric_prefix: 'nine'
only: %w(retry_size dead_size)
except: %w(retry_size dead_size)
app: 'MyApp'
environment: 'staging'
About
This Gem is maintained and funded by nine.ch.

We run your Linux server infrastructure – without interruptions, around the clock.