lib/sidekiq/statistic/views/statistic.erb in sidekiq-statistic-1.0.0 vs lib/sidekiq/statistic/views/statistic.erb in sidekiq-statistic-1.1.0

- old
+ new

@@ -21,18 +21,20 @@ <div class="statistic__charts"> <h2><%= t('Failed') %></h2> <canvas id="js-failed-chart" width="800" height="200"></canvas> <h2><%= t('Passed') %></h2> <canvas id="js-passed-chart" width="800" height="200"></canvas> + <div id="chartjs-tooltip"></div> </div> <h2><%= t('WorkersTable') %></h2> <div class="table_container"> <table class="statistic__table table table-hover table-bordered table-striped table-white live-reload"> <thead> <th><%= t('Worker') %></th> <th><%= t('Date') %></th> + <th><%= t('Queue') %></th> <th><%= t('Success') %></th> <th><%= t('Failure') %></th> <th><%= t('Total') %></th> <th><%= t('TimeSec') %></th> <th><%= t('AverageSec') %></th> @@ -42,9 +44,10 @@ </thead> <% @workers.each do |worker| %> <tr> <td class="worker"><a href="<%= root_path %>statistic/<%= worker[:name] %>"><%= worker[:name] %></a></td> <td class="worker"><%= formate_date worker[:runtime][:last] %></td> + <td class="worker"><%= worker[:queue] %></td> <td class="worker"><%= worker[:number_of_calls][:success] %></td> <td class="worker"><%= worker[:number_of_calls][:failure] %></td> <td class="worker"><%= worker[:number_of_calls][:total] %></td> <td class="worker"><%= worker[:runtime][:total] %></td> <td class="worker"><%= worker[:runtime][:average] %></td>