Sha256: 676b5e0a46ad56a0eee2d47efbaa27c0ae4e3806242ee9eca692bb51b631b649

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

require 'sidekiq'
require 'sidekiq/api'
require "sidekiq/web"
require 'eldritch'

project_root = File.dirname(File.absolute_path(__FILE__))
Dir.glob(project_root + '/sidekiq_queue_metrics/**/*.rb', &method(:require))

if defined?(Sidekiq::Web)
  Sidekiq::Web.register Sidekiq::QueueMetrics::WebExtension
  Sidekiq::Web.tabs['Queue Metrics'] = 'queue_metrics'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sidekiq_queue_metrics-2.1 lib/sidekiq_queue_metrics.rb
sidekiq_queue_metrics-2.0 lib/sidekiq_queue_metrics.rb
sidekiq_queue_metrics-1.0 lib/sidekiq_queue_metrics.rb
sidekiq_queue_metrics-0.0.4 lib/sidekiq_queue_metrics.rb