striebwj/horizon-stats 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

striebwj/horizon-stats

Composer 安装命令:

composer require striebwj/horizon-stats

包简介

A horizon stats

README 文档

README

Run tests Format (PHP)

Packagist Packagist Packagist

Store long-term stats on the health of your Horizon Queues.

This package takes the Horizon snapshot data and stores it in the database, with easy to access models, so you can track your queue health over time.

Installation

Install via composer

composer require striebwj/horizon-stats

Publish package assets

php artisan vendor:publish --provider="striebwj\HorizonStats\ServiceProvider"

Update the horizon-stats.php config file to change the database names. Default is horizon_stats.

Usage

Once migrations are run, add the horizon-stats:store command to your App\Console\Kernel.php with the same time as your Horizon Snapshot command. Be sure to add it before the snapshot. It should look something like this:

// Horizon Tasks
$schedule->command('horizon-stats:store')->everyFiveMinutes(); // Before the snapshot
$schedule->command('horizon:snapshot')->everyFiveMinutes();

To-do List

  • Add tests
  • Allow pushing storing in DB to a queue
  • Add pruning?

Security

If you discover any security related issues, please email wade@striebel.ca instead of using the issue tracker.

Credits

统计信息

  • 总下载量: 5
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固