Sha256: 377b77a0661edffca7835d2b5642aa65162c765137ca51e30566e72e82e07b86

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

h3 Monitor

h5 Queues

- if @queues.size > 0
  table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;"
    thead
      th style="width: 55%" Name
      / th style="width: 15%" Current
      th style="width: 15%" Enqueued
      th style="width: 15%" Average runtime
    tbody
      - @queues.each do |queue, counters|
        tr
          td
            a href="#{root_path}monitor/queues/#{queue}" = queue
          / td -
          td= counters['enqueued']
          td= time_with_sec counters['runtime']

- else
  .alert.alert-success No queues found.

br

h5 Workers

- if @workers.size > 0
  table class="table table-striped table-bordered table-white" style="width: 100%; margin: 0; table-layout:fixed;"
    thead
      th style="width: 55%" Name
      / th style="width: 15%" Current
      th style="width: 15%" Enqueued
      th style="width: 15%" Average runtime
    tbody
      - @workers.each do |worker, counters|
        tr
          td
            a href="#{root_path}monitor/workers/#{worker}" = worker
          / td -
          td= counters['enqueued']
          td= time_with_sec counters['runtime']

- else
  .alert.alert-success No workers found.

br

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sidekiq-monitor-0.0.2 lib/sidekiq/monitor/views/monitor/index.slim