Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 716 Bytes

README.md

File metadata and controls

42 lines (25 loc) · 716 Bytes

puma-stats

A puma plugin to expose Puma's internal statistics.

Installation

Add this line to your application's Gemfile:

gem 'puma-stats'

And then execute:

$ bundle

Or install it yourself as:

$ gem install puma-stats

Usage

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'

Credits

The gem is inspired by the following projects:

License

The gem is available as open source under the terms of the MIT License.