dev-master
9999999-dev https://github.com/ofertix/PublisherCliPublisherCli is the component that allows publish events or stats using a console command.
MIT
The Requires
by Jordi Llonch
by Joan Valduvieco
log logging monitor monitoring publishercli
Wallogit.com
2017 © Pedro Peláez
PublisherCli is the component that allows publish events or stats using a console command.
PublisherCli is the component that allows publish events or stats using a console command., (*1)
You only need to get one file: publisher_cli.phar., (*2)
This file contains configuration and commands to change it., (*3)
The best way to install is to clone the repository and then configure as you need. See "Configuration" section., (*4)
After cloning you must install dependencies using "composer":, (*5)
php composer.phar update
Help: php publisher_cli.phar --help, (*6)
Publish stat: php publisher_cli.phar --name=[stat_name] --types=[type1,type2...] --values=[STDIN|value,STDIN|value...], (*7)
Publish event: php publisher_cli.phar --name=[event_name] --event, (*8)
Configure: get current configuration: php publisher_cli.phar config, (*9)
set configuration:
php publisher_cli.phar config set [param1.subparam1.subsubparam1] [new_value]
All configuration is done using a YAML file., (*10)
You only have to configure the publisher class and options., (*11)
See config file for more details., (*12)
Use of ZMQ is discontinued because a memory leak using ZMQ with OpenPGM PUB/SUB., (*13)
PublisherCli is the component that allows publish events or stats using a console command.
MIT
log logging monitor monitoring publishercli