All Projects → spatie → Laravel Failed Job Monitor

spatie / Laravel Failed Job Monitor

Licence: mit
Get notified when a queued job fails

Projects that are alternatives of or similar to Laravel Failed Job Monitor

Laravel Slack Slash Command
Make a Laravel app respond to a slash command from Slack
Stars: ✭ 215 (-63.06%)
Mutual labels:  laravel, slack, notifications
Laravel Server Monitor
Don't let your servers just melt down
Stars: ✭ 595 (+2.23%)
Mutual labels:  laravel, notifications, monitor
Statusok
Monitor your Website and APIs from your Computer. Get Notified through Slack, E-mail when your server is down or response time is more than expected.
Stars: ✭ 1,522 (+161.51%)
Mutual labels:  slack, notifications, monitor
Health
Laravel Health Panel
Stars: ✭ 1,774 (+204.81%)
Mutual labels:  laravel, notifications, monitor
Uptime Monitor App
A PHP application to monitor uptime and ssl certificates
Stars: ✭ 205 (-64.78%)
Mutual labels:  slack, notifications, monitor
Server Monitor App
A PHP application to monitor the health of your servers
Stars: ✭ 141 (-75.77%)
Mutual labels:  laravel, slack, notifications
slack-texts
SMS notifications for Slack groups
Stars: ✭ 19 (-96.74%)
Mutual labels:  notifications, slack
turnio
🤖 Bot to manage a queue of slack users in a channel
Stars: ✭ 11 (-98.11%)
Mutual labels:  slack, queue
Laravel Job Status
Add ability to track Job progress, status and result dispatched to Queue.
Stars: ✭ 279 (-52.06%)
Mutual labels:  laravel, queue
Chronos
📊 📊 📊 Monitors the health and web traffic of servers, microservices, and containers with real-time data monitoring and receive automated notifications over Slack or email.
Stars: ✭ 347 (-40.38%)
Mutual labels:  slack, notifications
Laravel Queue
Laravel Enqueue message queue extension. Supports AMQP, Amazon SQS, Kafka, Google PubSub, Redis, STOMP, Gearman, Beanstalk and others
Stars: ✭ 155 (-73.37%)
Mutual labels:  laravel, queue
Clearly
Clearly see and debug your celery cluster in real time!
Stars: ✭ 287 (-50.69%)
Mutual labels:  queue, monitor
Laravel Onesignal
OneSignal Push Notifications for Laravel
Stars: ✭ 369 (-36.6%)
Mutual labels:  laravel, notifications
leek
Celery Tasks Monitoring Tool
Stars: ✭ 77 (-86.77%)
Mutual labels:  monitor, queue
Laravel Slack
#️⃣ Slack notification for Laravel as it should be. Easy, fast, simple and highly testable.
Stars: ✭ 263 (-54.81%)
Mutual labels:  laravel, slack
Laravel Rate Limited Job Middleware
A job middleware to rate limit jobs
Stars: ✭ 166 (-71.48%)
Mutual labels:  laravel, queue
Laravel Desktop Notifier
💻 Send notifications to your desktop from your Laravel Artisan Commands. An JoliNotif wrapper for Laravel.
Stars: ✭ 333 (-42.78%)
Mutual labels:  laravel, notifications
Webpush
Webpush notifications channel for Laravel.
Stars: ✭ 437 (-24.91%)
Mutual labels:  laravel, notifications
Alertmanager
Prometheus Alertmanager
Stars: ✭ 4,574 (+685.91%)
Mutual labels:  slack, notifications
Monitor Table Change With Sqltabledependency
Get SQL Server notification on record table change
Stars: ✭ 459 (-21.13%)
Mutual labels:  notifications, monitor

Get notified when a queued job fails

Latest Version on Packagist Test Status Software License Build Status StyleCI Total Downloads

This package sends notifications if a queued job fails. Out of the box it can send a notification via mail and/or Slack. It leverages Laravel's native notification system.

Support us

We invest a lot of resources into creating best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Installation

You can install the package via composer:

composer require spatie/laravel-failed-job-monitor

If you intend to use Slack notifications you should also install the guzzle client:

composer require guzzlehttp/guzzle

The service provider will automatically be registered.

Next, you must publish the config file:

php artisan vendor:publish --provider="Spatie\FailedJobMonitor\FailedJobMonitorServiceProvider"

This is the contents of the default configuration file. Here you can specify the notifiable to which the notifications should be sent. The default notifiable will use the variables specified in this config file.

return [

    /**
     * The notification that will be sent when a job fails.
     */
    'notification' => \Spatie\FailedJobMonitor\Notification::class,

    /**
     * The notifiable to which the notification will be sent. The default
     * notifiable will use the mail and slack configuration specified
     * in this config file.
     */
    'notifiable' => \Spatie\FailedJobMonitor\Notifiable::class,

    /**
     * The channels to which the notification will be sent.
     */
    'channels' => ['mail', 'slack'],

    'mail' => [
        'to' => '[email protected]',
    ],

    'slack' => [
        'webhook_url' => env('FAILED_JOB_SLACK_WEBHOOK_URL'),
    ],
];

Configuration

Customizing the notification

The default notification class provided by this package has support for mail and Slack.

If you want to customize the notification you can specify your own notification class in the config file.

// config/laravel-failed-job-monitor.php
return [
    ...
    'notification' => \App\Notifications\CustomNotificationForFailedJobMonitor::class,
    ...

Customizing the notifiable

The default notifiable class provided by this package use the channels, mail and slack keys from the config file to determine how notifications must be sent

If you want to customize the notifiable you can specify your own notifiable class in the config file.

// config/laravel-failed-job-monitor.php
return [
    'notifiable' => \App\CustomNotifiableForFailedJobMonitor::class,
    ...

Usage

If you configured the package correctly, you're done. You'll receive a notification when a queued job fails.

Changelog

Please see CHANGELOG for more information what has changed recently.

Testing

composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email [email protected] instead of using the issue tracker.

Credits

A big thank you to Egor Talantsev for his help creating v2 of the package.

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].