cyber-duck / laravel-queue-notifier
A package that allows the platform to notify PagerDuty when queues are non responsive.
1.1
2021-11-18 11:15 UTC
Requires
- php: ^7.3
- laravel-notification-channels/pagerduty: ^0.4.0
- laravel/framework: 8.*
- laravel/horizon: 5.*
Requires (Dev)
- orchestra/testbench: ^6.23
This package is auto-updated.
Last update: 2024-11-24 16:10:56 UTC
README
Supports PagerDuty notifications through the Events v2 API.
Installation
composer require cyber-duck/laravel-queue-notifier
This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+.
Add the Following environment variables and you're good to go.
PAGER_DUTY_API_KEY=YOUR_INTEGRATION_KEY QUEUE_NOTIFIER_ENABLED=false
Trigger
Inside Horizon an event gets fired LongWaitDetected
in horizon it's currently only able to trigger events to Sms, Slack or Email. This package also listens to that event and creates an event in PagerDuty.
Requirements
- Laravel Horizon
- PagerDuty
- Laravel 8+