309 | | '''Method 2:''' Alternatively, the performance data may also be visualized using ''omf-web'', OMF's web-based visualization service. It also works in concert with the result service referenced in Method 1, and makes available a variety of graph widgets to visualize live-experiment data logged using OML. Detailed documentation on the installation and usage of omf-web can be found on the [https://github.com/mytestbed/omf_web omf-web github site]. |
310 | | |
311 | | Since this is installed on all ORBIT domains, we will only concern ourselves with defining the widget configuration required to bring up the live graphs for the performance data we are logging. Below is the contents of the simple two widget configuration file available with this tutorial package: |
312 | | |
313 | | {{{ |
314 | | #!yaml |
315 | | title: MobilityFirst Data Transfer Performance |
316 | | |
317 | | # Port number the omf-web service should run at |
318 | | port: 4041 |
319 | | |
320 | | # Root url of AM result2 service |
321 | | result2_server: http://oml:5054 |
322 | | |
323 | | # Define tabs, widgets for visualisation below |
324 | | # |
325 | | tabs: |
326 | | # Data transfer throughput |
327 | | mfperf_tput: |
328 | | # Line chart widget, need to define columns in mapping section. |
329 | | - name: OML TS SERVER |
330 | | type: line_chart |
331 | | data: msg_out |
332 | | mapping: |
333 | | # x-axis, y-axis and group_by. |
334 | | x: ts |
335 | | y: kbytes_per_sec |
336 | | group_by: oml_sender_id |
337 | | mfperf_rtt: |
338 | | # Line chart widget, need to define columns in mapping section. |
339 | | - name: OML TS SERVER |
340 | | type: line_chart |
341 | | data: msg_out |
342 | | mapping: |
343 | | # x-axis, y-axis and group_by. |
344 | | x: msg_length |
345 | | y: transfer_time |
346 | | group_by: oml_sender_id |
347 | | }}} |
348 | | |
349 | | To bring up the visualization, start the basic omf-web service with the configuration file argument: |
350 | | |
351 | | {{{ |
352 | | #!sh |
353 | | omf-web-basic -c <config_yaml_file> <experiment id> |
354 | | }}} |
| 309 | '''Method 2:''' Alternatively, the performance data may be visualized using ''omf-web'', OMF's web-based visualization service. It also works in concert with the result service referenced in Method 1, and makes available a variety of graph widgets to visualize live-experiment data logged using OML. Detailed documentation on the installation and usage of omf-web can be found on the [https://github.com/mytestbed/omf_web omf-web github site]. |
| 310 | |
| 311 | Since this is installed on all ORBIT domains, we only need to concern ourselves with defining the widget configuration required to bring up the live graphs for the performance data we are logging. In order to bring up the visualization, we only need to start the basic omf-web service with the configuration file arguments. |