manzadey/sentry-cron-monitor
最新稳定版本:v0.1.1
Composer 安装命令:
composer require manzadey/sentry-cron-monitor
包简介
Package for sentry cron monitors
关键字:
README 文档
README
Installation
You can install the package via composer:
composer require manzadey/sentry-cron-monitor
Usage
use Manzadey\SentryCronMonitor\CronMonitor; $monitor = new CronMonitor('dsn'); $monitor->progress('monitorId'); // Get data from progress request $monitor->getDataProgress(); // our code... // if a failure is detected in the execution of the task $monitor->error(); // Get data from error request $monitor->getDataError(); // or if your task is completed successfully $monitor->ok(); // Get data from ok request $monitor->getDataOk(); // Get all data from requests $monitor->getData(); // get exception errors $monitor->getErrors(); // check exception errors $monitor->hasErrors();
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 11
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-23