Download the PHP package andrey-zhukovskiy/yii2-queue-monitor without Composer
On this page you can find all versions of the php package andrey-zhukovskiy/yii2-queue-monitor. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download andrey-zhukovskiy/yii2-queue-monitor
More information about andrey-zhukovskiy/yii2-queue-monitor
Files in andrey-zhukovskiy/yii2-queue-monitor
Package yii2-queue-monitor
Short Description Yii2 Queue Analytics Module
License BSD-3-Clause
Informations about the package yii2-queue-monitor
Yii2 Queue Analytics Module (PHP 8+)
The module collects statistics about working of queues of an application, and provides web interface for research. Also the module allows to stop and replay any jobs manually.
Installation
The preferred way to install the extension is through composer.
Add to the require section of your composer.json
file:
Usage
To configure the statistics collector, you need to add monitor behavior for each queue component. Update common config file:
There are storage options that you can configure by common config file:
If you want use migrations of the extension, configure migration command in console config:
And apply migrations.
Web
Finally, modify your web config file to turn on web interface:
It will be available by URL http://yourhost.com/monitor
.
Console
There is console garbage collector:
It can be executed as:
Where P1D
is interval spec that specifies to delete all records one day older.
All versions of yii2-queue-monitor with dependencies
ext-pdo Version *
yiisoft/yii2 Version ~2.0.14
yiisoft/yii2-queue Version >=2.2.0
yiisoft/yii2-bootstrap Version ~2.0.0