Daravel

daravel_pulse

English · Bahasa Indonesia

A dashboard for Daravel after Laravel Pulse, served by your application: requests and their latency, slow requests and queries, exceptions, queues and jobs, merged across every worker isolate, with no database of its own and no external service.

dart pub add daravel_pulse
import 'package:daravel_pulse/daravel_pulse.dart';

Application createApp() => Application.configure(basePath: '.')
    .withPulse(middleware: ['auth', 'can:viewPulse'])
    // ...
    .create();
// https://your-app/pulse
  • Requests by minute (count, server errors, average time) over 1, 6 or 24 hours; slow requests by route pattern, never the raw path.
  • Slow queries by SQL, without their bindings; exceptions by class and the first frame in your code, with the latest trace.
  • Queue sizes, the failed_jobs of the period, slow and failed jobs.
  • Each isolate records in bounded memory; under a supervisor the workers send their reports to the coordinator, so the page shows the whole process.
  • Laravel Pulse's threshold keys (PULSE_SLOW_QUERIES_THRESHOLD, ...); a page with a nonce-based Content-Security-Policy and no external assets; 403 outside local until it is given middleware.

Documentation: github.com/daravel-dev/daravel/blob/main/docs/guide/pulse.md.

License and trademarks

MIT. "Laravel" is a trademark of Laravel Holdings Inc.; "Dart" is a trademark of Google LLC. Daravel is an independent project, not affiliated with or endorsed by either.

Libraries

daravel_pulse
Daravel Pulse (Blueprint #32): a dashboard served by the application that shows what it is doing — requests, slow requests and queries, exceptions, queues and jobs — merged across its worker isolates, with no external service.