to configure this plugin, add following in your puma.rb
# plugin to send server stats to our monitoring systems
# export SERVER_STATS_FREQUENCY (seconds) to control the frequency
plugin :stats_logger
NOTE: we keep plugin in lib/puma/plugin/stats_logger.rb
, IIRC it is required because of the way puma loads plugins
Update: also checkout https://github.com/harmjanblok/puma-metrics if you are looking for prom metrics