@php $m = $this->getMetrics(); @endphp

Database

@if ($m['db_ok']) OK ({{ $m['db_ms'] }} ms) @else DOWN @endif

    @foreach ($m['rows'] as $table => $count)
  • {{ $table }} {{ $count !== null ? number_format($count) : '—' }}
  • @endforeach

Queue ({{ $m['queue_driver'] }})

{{ $m['jobs'] !== null ? number_format($m['jobs']) : '—' }} pending

failed_jobs: {{ $m['failed_jobs'] !== null ? number_format($m['failed_jobs']) : '—' }}

@if (\Illuminate\Support\Facades\Route::has('horizon.index')) Open Horizon → @endif

Runtime

  • PHP: {{ $m['php'] }}
  • Cache: {{ $m['cache_driver'] }}
  • Version: {{ $m['app_version'] }}
  • Now: {{ $m['time'] }}

Recent errors (today's log, last 20 ERROR/CRITICAL)

@php $errors = $this->getRecentErrors(); @endphp @if (count($errors) === 0)

No errors logged today.

@else
@foreach ($errors as $line){{ $line }}
@endforeach
@endif

Cached 30s. Reload the page to refresh metrics.