<commit_before># Capistrano::Graphite
[![Gem Version](http://img.shields.io/gem/v/capistrano-graphite.svg)][gem]
[![Build Status](http://img.shields.io/travis/scottsuch/capistrano-graphite.svg)][travis]
[![Code Climate](http://img.shields.io/codeclimate/github/scottsuch/capistrano-graphite.svg)][codeclimate]

[gem]: https://rubygems.org/gems/capistrano-graphite
[travis]: http://travis-ci.org/scottsuch/capistrano-graphite
[codeclimate]: https://codeclimate.com/github/scottsuch/capistrano-graphite
This gem extends [Capistrano's](https://github.com/capistrano/capistrano) 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](http://obfuscurity.com/2014/01/Graphite-Tip-A-Better-Way-to-Store-Events).
This gem works with Capistrano v3.1.0 and above.
For a gem that works with older versions of Capistrano look [here](https://github.com/hellvinz/graphite-notify).

## 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<commit_msg>Update README.md [ci skip]<commit_after># Capistrano::Graphite
[![Gem Version](http://img.shields.io/gem/v/capistrano-graphite.svg)][gem]
[![Dependency Status](http://img.shields.io/gemnasium/scottsuch/capistrano-graphite.svg)][gemnasium]
[![Build Status](http://img.shields.io/travis/scottsuch/capistrano-graphite.svg)][travis]
[![Code Climate](http://img.shields.io/codeclimate/github/scottsuch/capistrano-graphite.svg)][codeclimate]

[gem]: https://rubygems.org/gems/capistrano-graphite
[gemnasium]: https://gemnasium.com/cottsuch/capistrano-graphite
[travis]: http://travis-ci.org/scottsuch/capistrano-graphite
[codeclimate]: https://codeclimate.com/github/scottsuch/capistrano-graphite
This gem extends [Capistrano's](https://github.com/capistrano/capistrano) 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](http://obfuscurity.com/2014/01/Graphite-Tip-A-Better-Way-to-Store-Events).
This gem works with Capistrano v3.1.0 and above.
For a gem that works with older versions of Capistrano look [here](https://github.com/hellvinz/graphite-notify).

## 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
{'fraction_non_alphanumeric': 0.1418816388467375, 'fraction_numerical': 0.006828528072837633, 'mean_word_length': 5.431707317073171, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 9, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '154113', 'n_tokens_mistral': 922, 'n_tokens_neox': 883, 'n_words': 182}