Heartcheck::Newrelic
A Heartcheck plugin for the NewRelic monitoring service.
Installation
Add this line to your application's Gemfile:
gem 'heartcheck-newrelic'
And then execute:
$ bundle
Or install it yourself as:
$ gem install heartcheck-newrelic
Usage
Add the following code to your Heartcheck
initializer:
Heartcheck.setup do |config|
config.add(:newrelic)
end
License
Contributing
You can use a CLI script in order to setup the project in your machine. Don't worry about ruby versions, or other project dependencies, you just need to have docker 19.03 or later installed.
Just run ./scripts/heartcheck help
in order to see the options available
- Fork it (https://github.com/locaweb/heartcheck-newrelic)
- 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
) - Create a new Pull Request