AgE 2.7 : Visualization

Run the application

Run MongoDB

Before you can run AgE Visualization you need install and run MongoDB database. In case your operating system is Linux, which uses apt tool, you can run the file available under path AGE_PROJECT_FOLDER\monitoring\monitoring-consumers\age-visualization\src\mongo\mongo.sh. After running this file, the MongoDB will be instaled and started.

When you are working on Windows, please follow the instructions under install MongoDB on Windows.

Console

To launch jetty with AgE Visualization in console mode, go to folder AGE_PROJECT_FOLDER\monitoring\monitoring-consumers\age-visualization and type

mvn jetty:run

Eclipse with Maven plugin 

To start jetty with AgE Visualization in Eclipse, choose Run As -> Run Configurations -> Maven Build -> New

Base direcotry: ${workspace_loc:/org.jage.monitoring-age-visualization}

Goals: jetty:run

Choose button Run

 

Available commands

AgE-Visualization is designed to be REST style application. Most of functions which will be presented, you can run by entering the proper URL, or by using the web application interface. We can specify two commands

list:

  • http://hostname:8080/age/list - displays a list of computation types
  • http://hostname:8080/age/list/computationtype - displays a list of computation instances of given computationtype; example: http://localhost:8080/age/list/myemas ; Function available also after choosing the link with computationtype name.
  • http://hostname:8080/age/list/computationtype/computationinstance - displays a list of gatherer of the given computation instance; example: http://localhost:8080/age/list/myemas/1377243932882 ; Function available also after choosing the link with computationinstance name.
  • http://hostname:8080/age/list/computationtype/computationinstance/gatherername - displays a data saved by pointed gatherer. example: http://localhost:8080/age/list/myemas/1377243932882/fitness ; Function available also after choosing the link "display data" nearby gatherer name.
  • http://hostname:8080/age/list/computationtype/*/gatherername - displays all gatherer with a given name in every computation run. example: http://localhost:8080/age/list/myemas/*/fitness
  • http://hostname:8080/age/list/computationtype/last - displays a list of gatherer of the last computation ; example: http://localhost:8080/age/list/myemas/last ; Function available also after choosing the link "last" in proper computation type.

show

  • http://hostname:8080/age/show/computationtype/computationinstance/gatherername ; example: http://hostname:8080/age/show/myemas/1377243932882/fitnessFunction available also after choosing the link show single nearby gatherer name.
  • http://hostname:8080/age/show/computationtype/computationinstance ; example: http://hostname:8080/age/show/myemas/1377243932882 ; Function available also after choosing the link show all placed above gatherer names.
  • http://hostname:8080/age/show/computationtype/computationinstance/?stats=n1,n2 ; example: http://hostname:8080/age/show/myemas/1377243932882/?stats=1,2 ; Function available also after checking proper checkboxes and choosing button Show checked.

It is recommended to use command show via web application interface.

Age-Visualization web application offers the following functions:

  • tooltips,
  • selecting visibility of given series by clicking the name of series on the legend label,
  • zoom - x axis can be zoom with navigator bar at the bottom of a chart; y axis can be zoom by makr a wanted area at a chart; the Reset zoom button resets y - zoom,
  • saving a chart in png, pdf etc format, after choosing icon  

Example of running

Instances of myemasInstances of myemas type.


Gatherers named random of myemas type.


Example chart.

 

Chart with disable fitness series, navigator bar used.

Graphite example

Attachments:

icon.jpg (image/jpeg)
instances.jpg (image/jpeg)
random.jpg (image/jpeg)
gatherers.jpg (image/jpeg)
chart1.jpg (image/jpeg)
chart2.jpg (image/jpeg)