Class: Sidekiq::Web

Inherits:
Sinatra::Base
  • Object
show all
Includes:
Paginator
Defined in:
lib/sidekiq/web.rb

Constant Summary collapse

DEFAULT_TABS =
{
  "Dashboard" => '',
  "Busy"      => 'busy',
  "Queues"    => 'queues',
  "Retries"   => 'retries',
  "Scheduled" => 'scheduled',
  "Dead"      => 'morgue',
}
REDIS_KEYS =
%w(redis_version uptime_in_days connected_clients used_memory_human used_memory_peak_human)

Class Method Summary collapse

Methods included from Paginator

#page

Class Method Details

.custom_tabsObject Also known as: tabs



35
36
37
# File 'lib/sidekiq/web.rb', line 35

def custom_tabs
  @custom_tabs ||= {}
end

.default_tabsObject



31
32
33
# File 'lib/sidekiq/web.rb', line 31

def default_tabs
  DEFAULT_TABS
end