@extends('trace-replay::layout') @section('title', 'Dashboard — TraceReplay') @section('content')
Real-time application tracing & debugging
| Type | Status | Name | Started | Duration | Actions |
|---|---|---|---|---|---|
| @php $s=$trace->status; @endphp @if($s==='success') OK @elseif($s==='error') Error @else ... @endif |
@php
$displayName = $trace->name ?? 'Trace';
$method = null;
if ($type === 'http' && str_starts_with($displayName, 'HTTP ')) {
$parts = explode(' ', $displayName, 3);
$method = $parts[1] ?? null;
$displayName = $parts[2] ?? $displayName;
}
@endphp
@if($method)
{{ $method }}
@endif
{{ \Illuminate\Support\Str::limit($displayName, 40) }}
@if($trace->http_status)
{{ $trace->http_status }}
@endif
{{ substr($trace->id, 0, 8) }}
·
{{ $trace->steps_count ?? 0 }} steps
@if($trace->ip_address)
·
{{ $trace->ip_address }}
@endif
|
{{ $trace->started_at?->diffForHumans() ?? '—' }}
{{ $trace->started_at?->format('H:i:s') }}
|
@if($trace->duration_ms)
@php
$ms = $trace->duration_ms;
$c = $ms < 200 ? 'green' : ($ms < 1000 ? 'yellow' : 'red');
@endphp
{{ number_format($ms, 0) }}ms
@else
—
@endif
|
||
|
No traces recorded yet. Instrument your code with |
|||||