Capistrano::Graphite
This gem extends capistrano's deploy functionality by pushing events to graphite.
Currently events are only pushed after deploy:updated and deploy:reverted.
Some information on events can be found in this nice writeup.
This gem works with capistrano v3.1.0 and above.
For a gem that works with older versions of capistrano go here.
Installation
Add this line to your application's Gemfile:
gem 'capistrano-graphite'
And then execute:
$ bundle
Or install it yourself as:
$ gem install capistrano-graphite
Usage
Require in Capfile to use the default tasks:
require "capistrano/graphite"
Configurable options
set :graphite_url, "http://example.com:8000/events/"
Contributing
- Fork it ( https://github.com/[my-github-username]/capistrano-graphite/fork )
- 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