Datadog intrumentation for Sidekiq, integrated via server middleware.
Add this line to your application's Gemfile:
gem 'sidekiq-datadog'
Or install:
$ gem install sidekiq-datadog
Configure it in an initializer:
Sidekiq.configure_server do |config|
config.server_middleware do |chain|
chain.add Sidekiq::Middleware::Server::Datadog
end
end
For full configuration options, please see the Documentation.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Make a pull request