Skip to content

locaweb/heartcheck-newrelic

Repository files navigation

Heartcheck::Newrelic

Build Status

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

  1. Fork it (https://github.com/locaweb/heartcheck-newrelic)
  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. Create a new Pull Request