Search by

dskripchenko / laravel-admin-pulse

dskripchenko

Lightweight telemetry (request, query, job, exception) for dskripchenko/laravel-admin β€” no dependency on laravel/pulse.

Package info

github.com/dskripchenko/laravel-admin-pulse

pkg:composer/dskripchenko/laravel-admin-pulse

Statistics

Installs: 135

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.6.1 2026-10-03 07:20 UTC

README

🌐 English Β· Русский Β· Deutsch Β· δΈ­ζ–‡

Lightweight telemetry for the admin panel: a pulse middleware samples request timings into the database (queries, jobs and exceptions are recorded through the Sampler service), and the admin gets a Telemetry dashboard, a top-bar error-rate indicator and a Telemetry samples list. Console commands aggregate samples into per-window percentiles and rotate old data. Own implementation, no dependency on laravel/pulse.

A sister-pack for dskripchenko/laravel-admin.

Packagist License

Install

composer require dskripchenko/laravel-admin-pulse
php artisan migrate

The plugin auto-registers via Laravel package discovery. To publish the config:

php artisan vendor:publish --tag=admin-pulse-config

Schedule the aggregation β€” the dashboard charts are drawn from it:

Schedule::command('admin:pulse:aggregate')->everyFiveMinutes();
Schedule::command('admin:pulse:rotate')->daily();

Telemetry dashboard

/admin/dashboard/telemetry, in the "System" menu group, for users with the admin.system.pulse.view permission. Built from the core's widget types, over the last 24 hours:

  • KPI tiles β€” estimated requests, 5xx error rate, p95 response time, exceptions.
  • Requests per minute β€” requests and 5xx errors (line chart).
  • Response time β€” p50 and p95 (line chart).
  • Slowest routes β€” route, samples, avg, p95, max, 5xx.
  • Slowest queries β€” SQL fingerprint, samples, avg, max.
  • Top exceptions β€” exception, samples, last seen.
  • Jobs β€” processed and failed per hour (stacked bars).

The top-bar indicator turns into a warning or an error when the share of 5xx responses of the last 15 minutes crosses the configured thresholds. The widget classes can also be placed on your own dashboards. Details in Usage.

Documentation

Requirements

PHP 8.2+, Laravel 11–13, dskripchenko/laravel-admin ^1.33.

License

MIT Β© Denis Skripchenko