puma: add Prometheus metrics exporter.

To test it, run `bin/rails server` then do `curl http://localhost:9393`.

https://github.com/harmjanblok/puma-metrics
This commit is contained in:
evazion
2021-09-11 10:09:58 -05:00
parent ee1c3c9418
commit 0aab81440f
3 changed files with 14 additions and 0 deletions

View File

@@ -53,6 +53,7 @@ gem 'bcrypt_pbkdf' # https://github.com/net-ssh/net-ssh/issues/565
gem 'terminal-table'
gem 'newrelic_rpm', require: false
gem 'clockwork'
gem 'puma-metrics'
group :production, :staging do
gem 'unicorn', :platforms => :ruby