okvpn/mq-insight

Message queue statistics for OroPlatform

Installs: 311

Dependents: 0

Suggesters: 0

Security: 0

Stars: 6

Watchers: 1

Forks: 2

Open Issues: 1

Type:symfony-bundle

1.2.4 2019-03-16 14:47 UTC

This package is auto-updated.

Last update: 2024-04-11 20:53:25 UTC


README

This bundle provide UI to monitor status and collect statistics of message queue for OroPlatform

Build Status Latest Stable Version Latest Unstable Version Total Downloads License

Install

  1. Install using composer
composer require okvpn/mq-insight
  1. Delete your cache rm -rf app/cache/{dev,prod,test}/

  2. Run oro platform update oro:platform:update

Compatible ORO Platform versions

Supported 2.6.* - 3.1.* ORO Platform versions on mysql or postgresql DB. You can see more detailed information from test matrix

Feature

  • Queued messages chart
  • Execution time statistics
  • Errors statistics
  • Delete invalid message from queue
  • Support dbal and amqp driver

1 img

2 img

3 img

Message queue insight options

Example of configuration options

# 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'

Contributing

Contributions from the community are accepted.

Run tests

  1. Install oro application together okvpn/mq-insight in tests environment.

  2. Set real mq transport in parameters_test.yml

    message_queue_transport: dbal
    message_queue_transport_config: null
  1. Copy phpunit.xml.dist

  2. Run tests

php bin/phpunit --testsuite=okvpn

For more example see tests run script and travis config travis.yml

Licences

MIT Licences