<%= link_to 'Back', 'index' %>
Application Threads | Name | Status | Group | Priority | <% 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 | %>
---|---|---|---|
<%= 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 | <% nr_threads.each_with_index do | thread, i | %>
<%= h thread[:newrelic_label] %> | <%= h(thread.status || 'terminated with exception') %> | <%= h(thread.group || 'none') %> | <%= h thread.priority %> |