libaro/laravel-monitoring

Monitoring and alerting for Laravel applications

0.2.0 2024-04-10 12:05 UTC

README

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

The Libaro monitoring package, a config based monitoring setup for your Laravel applications.

Installation

You can install the package using composer:

composer require libaro/laravel-monitoring

Configuration

Publishing the configuraiton

You can publish the config file with:

php artisan vendor:publish --tag="monitoring-config"

Queue monitoring

You can enable queue monitoring by specifying your queue name as an array key followed by the configuration for that queue.

Option Value Description
max_wait_minutes int A test job will be dispatched on that queue. When the job is not processed within the specified time, a notification will be sent.
[
    ...

    'queue' => [
        'invoicing' => [ // queue name 
            'max_wait_minutes' => 5, // Fails when test job is not processed within 5 minutes
        ],
    ],
    
    ...
]

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.