Sha256: 2356f9270dba595a8a004ceadd4a0075da45fbe138ef0903bafc0943473322df
Contents?: true
Size: 516 Bytes
Versions: 27
Compression:
Stored size: 516 Bytes
Contents
require 'sidekiq/api' require 'roo_on_rails/sidekiq/queue_latency' require 'roo_on_rails/sidekiq/process_scaling' module RooOnRails module Sidekiq # Returns stats on the current SLA performance of queues in a Sidekiq instance. # # Only returns stats for queues being processed by current Sidekiq process class SlaMetric def self.queue queues = QueueLatency.queues global_stats = ProcessScaling.new(queues) global_stats.requested_processes end end end end
Version data entries
27 entries across 27 versions & 1 rubygems