FEATURE #2389 @2h: add request detail into profiler
This commit is contained in:
@@ -4,34 +4,12 @@
|
||||
|
||||
@section('content')
|
||||
|
||||
<table class="table stripped">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>@lang('profiler::module.index.createdAt')</td>
|
||||
<td>@lang('profiler::module.index.httpMethod')</td>
|
||||
<td>@lang('profiler::module.index.url')</td>
|
||||
<td>@lang('profiler::module.index.time')</td>
|
||||
<td>@lang('profiler::module.index.systemLoad')</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
|
||||
@foreach($httpLog as $request)
|
||||
<tr>
|
||||
<td>{{$request->created_at->format('d.m.Y G:i')}}</td>
|
||||
<td>{{$request->method}}</td>
|
||||
<td>{{$request->url}}</td>
|
||||
<td>{{number_format($request->time, 3)}} ms</td>
|
||||
<td>{{$request->load_1}}, {{$request->load_5}}, {{$request->load_15}}</td>
|
||||
<td>
|
||||
<a href="{{route('queries.index', ['httpLog' => $request])}}">SQL</a>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{!! $httpLog->render() !!}
|
||||
<div class="card">
|
||||
<div class="card-block">
|
||||
@include('profiler::_partials.requestList', ['requests' => $httpLog])
|
||||
</div>
|
||||
<div class="card-footer">
|
||||
{!! $httpLog->render() !!}
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
Reference in New Issue
Block a user