Database process monitoring for Laravel Pulse.
Install the package via Composer:
composer require kefir500/pulse-db-processesOptionally, you can publish the views:
php artisan vendor:publish --tag="pulse-db-processes-views"This package currently supports MySQL and MariaDB.
You can add the cards below to the Pulse dashboard in
dashboard.blade.php.
This card displays a list of current database processes running on the server:
<livewire:db-process-list />You can also specify custom database connections:
<livewire:db-process-list connection="default" />
<livewire:db-process-list connection="client" />This card displays a line chart of the database process count over time:
<livewire:db-process-count />To capture database process count metrics, add the recorder
to the recorders section of your Pulse config in
config/pulse.php:
Kefir500\PulseDbProcesses\Recorders\DbProcessCount::class => [
'connections' => ['default', 'client'],
],The MIT License (MIT). Please see License File for more information.