Skip to content

heroku/barnes

 
 

Repository files navigation

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

About

Tell StatsD about request time, GC, objects and more. Latest Rails 4 and Ruby 2.1 support, and ancient Rails 2 and Ruby 1.8 support.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 97.0%
  • Shell 3.0%