2017 © Pedro Peláez
 

library web-ui-stats

Collector is the component in charge of subscribing to the channel where stats and events are published. Message storing policies are determined by matching type or a regexp defined in the config file.

image

ofertix/web-ui-stats

Collector is the component in charge of subscribing to the channel where stats and events are published. Message storing policies are determined by matching type or a regexp defined in the config file.

  • Sunday, July 8, 2012
  • by jordillonch
  • Repository
  • 8 Watchers
  • 8 Stars
  • 2 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

What is "WebUIStats"?

WebUIStats is the component that generates web UI interface with charts from your stats., (*1)

Screenshots

Example 1, (*2)

Example2, (*3)

Requirements

  • PHP 5.3.2 and up.
  • RabbitMQ or ZMQ.

Libraries and services used

  • PHP
    • Pimple
    • Symfony Components:
      • ClassLoader
      • YAML
      • Console
    • Monolog
  • ExtJS 4
  • HighStocks

Installation

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

Usage

Generate your charts using:, (*6)

php app/generator.php interface:generate app/config/test/app.yml

Optional: You could copy generated code in web/app to somewhere you want., (*7)

In your browser insert the url where it is the generated code, example:, (*8)

http://localhost/WebUIStats/web/index.html

Configuration

All configuration is done using a YAML files., (*9)

Config files are structured in one main file (app.yml) and some screens config files (screen_foo.yml)., (*10)

app.yml:, (*11)

  • output_path:, (*12)

    • directory where to write generated code.
  • title:, (*13)

    • title that will appears in the browser.
  • menu:, (*14)

    • menu items that links our charts.
  • charts:, (*15)

    • default charts options.

screen_foo.yml:, (*16)

  • charts:, (*17)

    • chart title, options and data series.
  • display:, (*18)

    • set template that defines charts layout.

See config file for more details., (*19)

Extra notes

Use of ZMQ is discontinued because a memory leak using ZMQ with OpenPGM PUB/SUB., (*20)

The Versions

08/07 2012

dev-master

9999999-dev https://github.com/ofertix/WebUIStats

Collector is the component in charge of subscribing to the channel where stats and events are published. Message storing policies are determined by matching type or a regexp defined in the config file.

  Sources   Download

MIT

The Requires

 

by Jordi Llonch
by Joan Valduvieco

log logging monitor monitoring webuistats