Dealer Inspire Laravel Performance Monitor logs errors when your Laravel application exceeds specified performance metrics.
Install the package by requiring it with Composer.
composer require dealerinspire/laravel-performance-monitor
You don't need to do anything; Laravel Performance Monitor works automagically as soon as you require it with Composer.
You can, however, modify some configuration options by publishing this package and updating performancemonitor.php
.
php artisan vendor:publish
enable_execution_time_check (default true) - Set to true to enable a check for maximum execution time
enable_memory_limit_check (default true) - Set to true to enable a check for a memory usage threshold
execution_time_max_seconds (default 300) - The maximum number of seconds a request execution can take before sending an alert
memory_limit_max_memory_percent (default 80) - The maximum percentage of available memory that can be used before sending an alert
MIT © Dealer Inspire