Sha256: f6bc84e036386d6fca93b12bdd228ecdbc13b9edd20c7b9dd3935f846921929a

Contents?: true

Size: 1.76 KB

Versions: 9

Compression:

Stored size: 1.76 KB

Contents

.hero-unit
  h1 Sidekiq is #{current_status}
  p Processed: #{processed}
  p Failed: #{failed}
  p Workers: #{workers.size}
  p Retries Pending: #{retry_count}

.tabbable
  ul.nav.nav-tabs
    li.active
      a href="#workers" data-toggle="tab" Workers
    li
      a href="#queues" data-toggle="tab" Queues
    li
      a href="#retries" data-toggle="tab" Retries
  .tab-content
    #workers.tab-pane.active
      table class="table table-striped table-bordered"
        tr
          th Worker
          th Queue
          th Class
          th Arguments
          th Started
        - workers.each do |(worker, msg)|
          tr
            td= worker
            - if msg
              td= msg['queue']
              td= msg['payload']['class']
              td= msg['payload']['args'].inspect[0..100]
              td== relative_time(Time.parse(msg['run_at']))
            - else
              td colspan=4 Idle
      form action="#{root_path}reset" method="post"
        button.btn type="submit" Clear worker list

    #queues.tab-pane
      table class="table table-striped table-bordered"
        tr
          th Queue
          th Size
        - queues.each do |(queue, size)|
          tr
            td
              a href="queues/#{queue}" #{queue}
            td= size

    #retries.tab-pane
      table class="table table-striped table-bordered"
        tr
          th Next Retry
          th Retry Count
          th Queue
          th Worker
          th Args
        - retries.each do |(msg, score)|
          tr
            td
              a href="retries/#{score}"== relative_time(Time.at(score))
            td= msg['retry_count']
            td
              a href="queues/#{msg['queue']}" #{msg['queue']}
            td= msg['class']
            td= msg['args'].inspect[0..100]

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
sidekiq-1.1.3 web/views/index.slim
sidekiq-1.1.2 web/views/index.slim
sidekiq-1.1.1 web/views/index.slim
sidekiq-1.1.0 web/views/index.slim
sidekiq-1.0.0 web/views/index.slim
sidekiq-0.11.2 web/views/index.slim
sidekiq-0.11.1 web/views/index.slim
sidekiq-0.11.0 web/views/index.slim
sidekiq-0.10.1 web/views/index.slim