Module: HireFire::Macro::Sidekiq
- Extended by:
- Deprecated::Sidekiq, Sidekiq
- Included in:
- Sidekiq
- Defined in:
- lib/hirefire/macro/sidekiq.rb
Instance Method Summary collapse
-
#job_queue_latency(*queues, **options) ⇒ Float
Calculates the maximum job queue latency using Sidekiq.
-
#job_queue_size(*queues, **options) ⇒ Integer
Calculates the total job queue size using Sidekiq.
Methods included from Deprecated::Sidekiq
Instance Method Details
#job_queue_latency(*queues, **options) ⇒ Float
Calculates the maximum job queue latency using Sidekiq. If no queues are specified, it measures latency across all available queues.
31 32 33 |
# File 'lib/hirefire/macro/sidekiq.rb', line 31 def job_queue_latency(*queues, **) JobQueueLatency.call(*queues, **) end |
#job_queue_size(*queues, **options) ⇒ Integer
Calculates the total job queue size using Sidekiq. If no queues are specified, it measures size across all available queues.
63 64 65 |
# File 'lib/hirefire/macro/sidekiq.rb', line 63 def job_queue_size(*queues, **) JobQueueSize.call(*queues, **) end |