Sha256: edf3a0d8eae760e916cc447c94e4e2b3a86c07b72a2452cbf65398a961d335ee
Contents?: true
Size: 1.41 KB
Versions: 4
Compression:
Stored size: 1.41 KB
Contents
<div class="card"> <div class="card-content"> <h2 class="subtitle">Recent Requests (last <%= RailsPerformance::Reports::RecentRequestsReport::TIME_WINDOW %> minutes)<h2> <table class="table is-fullwidth is-hoverable is-narrow"> <thead> <tr> <th data-sort="string">Datetime</th> <th data-sort="string">Controller#action</th> <th data-sort="string">Method</th> <th data-sort="string">Format</th> <th data-sort="string">Path</th> <th data-sort="string">Status</th> <th data-sort="float">Duration</th> <th data-sort="float">Views</th> <th data-sort="float">DB</th> </tr> </thead> <tbody> <% @data.each do |e| %> <tr> <td><%= format_datetime e[:datetime] %></td> <td><%= link_to e[:controller] + '#' + e[:action], rails_performance.rails_performance_summary_path({controller_eq: e[:controller], action_eq: e[:action]}), remote: true %></td> <td><%= e[:method] %></td> <td><%= e[:format] %></td> <td><%= link_to_path(e) %></td> <td><%= status_tag e[:status] %></td> <td><%= ms e[:duration] %></td> <td><%= ms e[:view_runtime] %></td> <td><%= ms e[:db_runtime] %></td> </tr> <% end %> </tbody> </table> </div> </div>
Version data entries
4 entries across 4 versions & 1 rubygems