Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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/)