Capistrano v3 task for New Relic notification about deployment
Add this line to your application's Gemfile:
gem 'capistrano-v3-newrelic'And then execute:
$ bundle
Or install it yourself as:
$ gem install cap-newrelic
Require the module in your Capfile:
require 'capistrano/newrelic'Gem comes with 1 task notification:newrelic.
By default the task will run after deploy
Configurable options, set in newrelic.yml config.
This code started out based on https://github.com/newrelic/rpm (for Capistrano v2)