tkishel / puma-stats

A puma plugin to expose Puma's internal statistics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

A puma plugin to expose Puma's internal statistics

License:MIT License


Languages

Language:Ruby 100.0%