A fork of trashed focused on Ruby metrics for Heroku.
On Rails 6 (and Rails 3 and 4 and 5), add this to your Gemfile:
gem "barnes"
Then run:
$ bundle install
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