module RooOnRails
inspiration from: devcenter.heroku.com/articles/concurrency-and-database-connections#multi-process-servers devcenter.heroku.com/articles/postgres-logs-errors#pgerror-prepared-statement-a30-already-exists stackoverflow.com/questions/8118074/is-the-prepared-statement-cache-cleared-per-request-in-rails-3-1 stackoverflow.com/questions/16775795/rails-switch-connection-on-each-request-but-keep-a-connection-pool
Reports Sidekiq
queue metrics for queues configured within the current Sidekiq
process i.e. queues returned by `RooOnRails::Sidekiq::Settings.queues` To enable reporting for custom queues, ensure your process is running the monitoring queue e.g. `SIDEKIQ_QUEUES=“new-queue:5seconds,monitoring” bundle exec sidekiq`
Constants
- VERSION
Public Class Methods
statsd()
click to toggle source
# File lib/roo_on_rails/statsd.rb, line 52 def self.statsd RooOnRails::Statsd.instance.client end