mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Use dig to help with incomplete data
This commit is contained in:
parent
7edf82fe1b
commit
c74cf00f9b
1 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@
|
|||
<tr>
|
||||
<td><code><a href="<%= root_path %>metrics/<%= kls %>"><%= kls %></a></code></td>
|
||||
<td><%= val %></td>
|
||||
<td><%= top["ms"][kls] %></td>
|
||||
<td><%= top.dig("ms", kls) %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
<% else %>
|
||||
|
@ -43,7 +43,7 @@
|
|||
<% topms.each do |kls, val| %>
|
||||
<tr>
|
||||
<td><code><a href="<%= root_path %>metrics/<%= kls %>"><%= kls %></a></code></td>
|
||||
<td><%= top["p"][kls] %></td>
|
||||
<td><%= top.dig("p", kls) %></td>
|
||||
<td><%= val %></td>
|
||||
</tr>
|
||||
<% end %>
|
||||
|
|
Loading…
Add table
Reference in a new issue