Module: RooOnRails
- Defined in:
- lib/roo_on_rails/rack/safe_timeouts.rb,
lib/roo_on_rails.rb,
lib/roo_on_rails/shell.rb,
lib/roo_on_rails/checks.rb,
lib/roo_on_rails/config.rb,
lib/roo_on_rails/logfmt.rb,
lib/roo_on_rails/logger.rb,
lib/roo_on_rails/statsd.rb,
lib/roo_on_rails/harness.rb,
lib/roo_on_rails/version.rb,
lib/roo_on_rails/checks/base.rb,
lib/roo_on_rails/environment.rb,
lib/roo_on_rails/railties/env.rb,
lib/roo_on_rails/railties/http.rb,
lib/roo_on_rails/checks/helpers.rb,
lib/roo_on_rails/sidekiq/loader.rb,
lib/roo_on_rails/context_logging.rb,
lib/roo_on_rails/sidekiq/settings.rb,
lib/roo_on_rails/checks/git/origin.rb,
lib/roo_on_rails/papertrail_client.rb,
lib/roo_on_rails/checks/environment.rb,
lib/roo_on_rails/sidekiq/sla_metric.rb,
lib/roo_on_rails/checks/env_specific.rb,
lib/roo_on_rails/checks/github/token.rb,
lib/roo_on_rails/checks/heroku/login.rb,
lib/roo_on_rails/checks/heroku/token.rb,
lib/roo_on_rails/railties/rake_tasks.rb,
lib/roo_on_rails/checks/papertrail/all.rb,
lib/roo_on_rails/railties/google_oauth.rb,
lib/roo_on_rails/railties/roo_identity.rb,
lib/roo_on_rails/sidekiq/queue_latency.rb,
lib/roo_on_rails/checks/sidekiq/sidekiq.rb,
lib/roo_on_rails/sidekiq/metrics_worker.rb,
lib/roo_on_rails/checks/papertrail/token.rb,
lib/roo_on_rails/checks/sidekiq/settings.rb,
lib/roo_on_rails/sidekiq/process_scaling.rb,
lib/roo_on_rails/checks/heroku/app_exists.rb,
lib/roo_on_rails/concerns/require_api_key.rb,
lib/roo_on_rails/rack/populate_env_from_jwt.rb,
lib/roo_on_rails/checks/heroku/drains_metrics.rb,
lib/roo_on_rails/railties/sidekiq_integration.rb,
lib/roo_on_rails/checks/documentation/playbook.rb,
lib/roo_on_rails/checks/heroku/preboot_enabled.rb,
lib/roo_on_rails/checks/environment_independent.rb,
lib/roo_on_rails/checks/heroku/toolbelt_working.rb,
lib/roo_on_rails/checks/papertrail/drain_exists.rb,
lib/roo_on_rails/checks/papertrail/system_named.rb,
lib/roo_on_rails/checks/github/branch_protection.rb,
lib/roo_on_rails/checks/papertrail/system_exists.rb,
lib/roo_on_rails/checks/heroku/toolbelt_installed.rb,
lib/roo_on_rails/checks/heroku/metrics_bridge_configured.rb,
lib/roo_on_rails/checks/papertrail/log_destination_exists.rb
Overview
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`
Defined Under Namespace
Modules: Checks, Concerns, ContextLogging, Logfmt, Rack, Railties, Sidekiq Classes: Config, Environment, Harness, Logger, PapertrailClient, Railtie, Shell, Statsd
Constant Summary collapse
- VERSION =
'2.2.2'.freeze
Class Method Summary collapse
Class Method Details
.statsd ⇒ Object
52 53 54 |
# File 'lib/roo_on_rails/statsd.rb', line 52 def self.statsd RooOnRails::Statsd.instance.client end |