https://github.com/bsm/datadog-notifications
https://github.com/bsm/datadog-notifications
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/bsm/datadog-notifications
- Owner: bsm
- License: mit
- Created: 2015-10-08T15:28:28.000Z (over 10 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T18:30:20.000Z (over 1 year ago)
- Last Synced: 2024-12-17T03:02:58.868Z (over 1 year ago)
- Language: Ruby
- Size: 97.7 KB
- Stars: 7
- Watchers: 5
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
datadog-notifications
=====================
Datadog intrumentation for [ActiveSupport::Notifications](http://api.rubyonrails.org/classes/ActiveSupport/Notifications.html).
## Installation
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](http://www.rubydoc.info/gems/datadog-notifications).
## Plugins
For a list of bundled plugins, please visit the [repository](https://github.com/bsm/datadog-notifications/tree/master/lib/datadog/notifications/plugins) page.
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Make a pull request