Thread List

<%= link_to 'Back', 'index' %>

<% main = Thread.main threads = Thread.list - [ main ] nr_threads = [] threads.delete_if { | thread | nr_threads << thread if thread.key?(:newrelic_label) } ([ main ] + threads).each_with_index do | thread, i | %> <% end %> <% if nr_threads.size > 0 %> <% nr_threads.each_with_index do | thread, i | %> <% end %> <% end %>
Application Threads
Name Status Group Priority
<%= h(thread == main ? 'main' : thread.to_s) %> <%= h(thread.status || 'terminated with exception') %> <%= h(thread.group || 'none') %> <%= h thread.priority %>
 
New Relic Agent Threads
Name Status Group Priority
<%= h thread[:newrelic_label] %> <%= h(thread.status || 'terminated with exception') %> <%= h(thread.group || 'none') %> <%= h thread.priority %>