Project

barnes

0.33
No release in over 3 years
Low commit activity in last 3 years
Report GC usage data to StatsD.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 5.3
~> 3.12
~> 2
>= 10

Runtime

 Project Readme

Barnes - GC Statsd Reporter

A fork of trashed focused on Ruby metrics for Heroku.

Setup

Rails 3, 4, 5, and 6

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

gem "barnes"

Then run:

$ bundle install

Non-Rails

Add the gem to the Gemfile

gem "barnes"

Then run:

$ bundle install

In your puma.rb file:

require 'barnes'

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

before_fork do
  # worker configuration
  Barnes.start
end