Datadog intrumentation for ActiveSupport::Notifications.
Add this line to your application's Gemfile:
gem 'datadog-notifications'
Or install:
$ gem install datadog-notifications
Configure it in an initializer:
Datadog::Notifications.configure do |c|
c.hostname = "my-host"
c.tags = ["my:tag"]
c.use Datadog::Notifications::Plugins::ActionController
c.use Datadog::Notifications::Plugins::ActiveRecord, tags: ["more:tags"]
end
For full configuration options, please see the Documentation.
For a list of bundled plugins, please visit the repository page.
- 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