A puma plugin to expose Puma's internal statistics.
Add this line to your application's Gemfile:
gem 'puma-stats'
And then execute:
$ bundle
Or install it yourself as:
$ gem install puma-stats
Add following lines to your puma config.rb
(see
Configuration File):
# config/puma.rb
plugin 'stats'
stats_url 'tcp://0.0.0.0:12345'
stats_token 'knockknock'
The gem is inspired by the following projects:
The gem is available as open source under the terms of the MIT License.