Class: Sidekiq::Web
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Sidekiq::Web
- 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 Attribute Summary collapse
-
.app_url ⇒ Object
Returns the value of attribute app_url.
Class Method Summary collapse
- .custom_tabs ⇒ Object (also: tabs)
- .default_tabs ⇒ Object
Methods included from Paginator
Class Attribute Details
.app_url ⇒ Object
Returns the value of attribute app_url.
43 44 45 |
# File 'lib/sidekiq/web.rb', line 43 def app_url @app_url end |
Class Method Details
.custom_tabs ⇒ Object Also known as: tabs
38 39 40 |
# File 'lib/sidekiq/web.rb', line 38 def custom_tabs @custom_tabs ||= {} end |
.default_tabs ⇒ Object
34 35 36 |
# File 'lib/sidekiq/web.rb', line 34 def default_tabs DEFAULT_TABS end |