Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dealerinspire/laravel-performance-monitor
Initial commit
https://github.com/dealerinspire/laravel-performance-monitor
Last synced: about 2 months ago
JSON representation
Initial commit
- Host: GitHub
- URL: https://github.com/dealerinspire/laravel-performance-monitor
- Owner: dealerinspire
- License: mit
- Created: 2019-07-08T19:14:43.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-07-09T17:36:36.000Z (over 5 years ago)
- Last Synced: 2024-04-15T02:59:09.815Z (10 months ago)
- Language: PHP
- Size: 10.7 KB
- Stars: 4
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Performance Monitor
Dealer Inspire Laravel Performance Monitor logs errors when your Laravel application exceeds specified performance metrics.
## Installation
Install the package by requiring it with Composer.
```bash
composer require dealerinspire/laravel-performance-monitor
```## Usage
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`.
### To Publish
```bash
php artisan vendor:publish
```### Available configuration options
**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
## License
MIT © [Dealer Inspire](https://www.dealerinspire.com/)