97f8c6279f
This makes it easier to see if a problem is caused by slow queries or slow Ruby code (unrelated to any SQL queries that might be used).
39 lines
945 B
Text
39 lines
945 B
Text
.prepend-top-default
|
|
.panel.panel-default
|
|
.panel-heading
|
|
%strong
|
|
= t('sherlock.general')
|
|
%ul.well-list
|
|
%li
|
|
%span.light
|
|
#{t('sherlock.id')}:
|
|
%strong
|
|
= @transaction.id
|
|
%li
|
|
%span.light
|
|
#{t('sherlock.type')}:
|
|
%strong
|
|
= @transaction.type
|
|
%li
|
|
%span.light
|
|
#{t('sherlock.path')}:
|
|
%strong
|
|
= @transaction.path
|
|
%li
|
|
%span.light
|
|
#{t('sherlock.time')}:
|
|
%strong
|
|
= @transaction.duration.round(2)
|
|
= t('sherlock.seconds')
|
|
%li
|
|
%span.light
|
|
#{t('sherlock.query_time')}
|
|
%strong
|
|
= @transaction.query_duration.round(2)
|
|
= t('sherlock.seconds')
|
|
%li
|
|
%span.light
|
|
#{t('sherlock.finished_at')}:
|
|
%strong
|
|
= time_ago_in_words(@transaction.finished_at)
|
|
= t('sherlock.ago')
|