Sha256: eef3cf868d3067820cfadcd91702de48f57dc8f6dea15c4bc29ec9140e597ec7
Contents?: true
Size: 1.92 KB
Versions: 3
Compression:
Stored size: 1.92 KB
Contents
<style> .queue_summary_bar { padding-left: 0; padding-right: 0; } .queue_summary_bar ul li { width: 19%; } </style> <header class="row"> <div class="col-sm-10"> <h3><%= @queue %></h3> </div> </header> <div class="col-sm-12 summary_bar queue_summary_bar"> <ul class="list-unstyled summary row"> <li class="processed col-sm-1"> <span class="count"><%= number_with_delimiter(@queue_stats['processed']) %></span> <span class="desc"><%= t('Processed') %></span> </li> <li class="failed col-sm-1"> <span class="count"><%= number_with_delimiter(@queue_stats['failed']) %></span> <span class="desc"><%= t('Failed') %></span> </li> <li class="enqueued col-sm-1"> <span class="count"><%= number_with_delimiter(@queue_stats['enqueued']) %></span> <span class="desc"><%= t('Enqueued') %></span> </li> <li class="retries col-sm-1"> <span class="count"><%= number_with_delimiter(@queue_stats['in_retry']) %></span> <span class="desc"><%= t('Retries') %></span> </li> <li class="scheduled col-sm-1"> <span class="count"><%= number_with_delimiter(@queue_stats['scheduled']) %></span> <span class="desc"><%= t('Scheduled') %></span> </li> </ul> </div> <header class="row"> <div class="col-sm-10"> <h3>Failed Jobs</h3> </div> </header> <table class="table table-striped table-bordered table-white"> <thead> <tr> <th><%= t('Job') %></th> <th><%= t('Arguments') %></th> <th><%= t('Enqueued') %></th> <th><%= t('Error') %></th> </tr> </thead> <% @failed_jobs.each do |job| %> <tr> <td><%= job['class'] %></td> <td><%= job['args'].join(', ') %></td> <td> <a href="<%= "/sidekiq/queue_metrics/queues/#{@queue}/jobs/#{job['jid']}" %>"> <%= relative_time(Time.at(job['enqueued_at'])) %> </a> </td> <td><%= job['error_message'] %></td> </tr> <% end %> </table>
Version data entries
3 entries across 3 versions & 1 rubygems