takwimu - GC, Rack and Rails Statsd Reporter

A fork of trashed and barnes. There is also some ActiveSupport notification based on vitals

We had some of this functionality baked into our app in various forms and we decided to bring it all together into one gem.

The key features are:

  1. Railtie which autoloads a scheduled stats pushed to Stats
  2. ActionController and ActiveRecord per request stats pushed to StatsD

This is a work in progress and we will keep adding more features but welcome any pull requests.

Setup

Rails 5

On Rails 5 (and Rails 3 and 4), add this to your Gemfile:

gem "takwimu"

Then run:

$ bundle install

Non-Rails

Add the gem to the Gemfile

gem "takwimu"

Then run:

$ bundle install

In your application:

require 'takwimu'

Then you'll need to start the client with default values:

Takwimu.start