{"repo":"AryeoHQ/monitored-jobs","free":true,"listed":false,"github":"https://github.com/AryeoHQ/monitored-jobs","clone":"git clone https://github.com/AryeoHQ/monitored-jobs.git","description":"A Laravel package to monitor the status and history of jobs on the queue.","language":"PHP","stars":14,"topics":["laravel","queue","monitoring"],"license":"MIT","category":"analytics","readme_excerpt":"Monitored Jobs for Laravel Overview This package tracks the status and history of your queued jobs by hooking into the events that Laravel fires for its queue system. We store this data in a database table, monitored jobs . Installation composer require aryeo/monitored-jobs Configuration You can optionally publish the configuration file, which allows you to configure: - if monitoring is enabled - which jobs to monitor - the number of days to keep monitored job history before pruning To publish the config file: php artisan vendor:publish --tag=monitored-jobs Controlling monitoring To control whether any job is monitored, set the monitored-jobs.enabled configuration value. There are two configuration options for filtering which jobs are monitored: include jobs and exclude jobs . The default value for both config options is null , which will include any job class. - 'include jobs' = null means we are not setting the config option, so all jobs are monitored - 'include jobs' = [] means we are setting the config option to include no jobs, meaning no jobs are monitored Including and excluding the same job class The exclude jobs option will be checked first and will skip monitoring the job if it is found to be excluded. Pruning Monitored Jobs The MonitoredJob model is setup to use Laravel's model pruning: https://laravel.com/docs/8.x/eloquent#pruning-models. In order for the models to be pruned, you must setup the command via the scheduler: You can adjust how long the monitored job r","default_branch":null,"files":null,"tree":[],"storefront":"/r/AryeoHQ","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/AryeoHQ/monitored-jobs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}