okvpn/mq-insight

OroPlatform 的消息队列统计

安装: 311

依赖项: 0

建议者: 0

安全性: 0

星标: 6

关注者: 1

分支: 2

开放问题: 1

类型:symfony-bundle

1.2.4 2019-03-16 14:47 UTC

This package is auto-updated.

Last update: 2024-09-11 21:41:50 UTC


README

此包为OroPlatform提供监控状态和收集消息队列统计的UI

Build Status Latest Stable Version Latest Unstable Version Total Downloads License

安装

  1. 使用composer安装
composer require okvpn/mq-insight
  1. 删除缓存 rm -rf app/cache/{dev,prod,test}/

  2. 运行Oro平台更新 oro:platform:update

兼容的ORO平台版本

支持mysql或postgresql数据库上的2.6.* - 3.1.*版本的ORO平台。更多详细信息请参阅测试 矩阵

功能

  • 队列消息图表
  • 执行时间统计
  • 错误统计
  • 从队列中删除无效消息
  • 支持dbal和amqp驱动程序

1 img

2 img

3 img

消息队列洞察选项

配置选项示例

# app/config/config.yml

okvpn_mq_insight:
    # Disable profiling on demand (run the command "okvpn:stat:retrieve" on background)
    disable_demand_profiling: false
    
    # Clear data interval from okvpn_mq_processor_stat table
    clear_stat_interval: '-5 days'
    
    # Clear data interval from okvpn_mq_error_stat table
    clear_error_interval: '-30 days'

贡献

接受社区贡献。

运行测试

  1. 在测试环境中一起安装Oro应用程序和 okvpn/mq-insight

  2. parameters_test.yml 中设置真实的mq传输

    message_queue_transport: dbal
    message_queue_transport_config: null
  1. 复制 phpunit.xml.dist

  2. 运行测试

php bin/phpunit --testsuite=okvpn

更多示例请参阅 测试运行脚本 和 travis配置 travis.yml

许可证

MIT许可证