Basic Monitoring example.
This example shows you the monitoring to be informed in real time of the metrics of the service.
Run the example:
- Go to "OIVHOME/examples/bin/OIVARCH/RemoteViz" and run the executable "CSVMonitoredRenderingService".
- Go to "OIVHOME/examples/source/RemoteViz/Monitoring/Clients/HTML5" and open the "index.html" file inside a web browser.
- Go to "OIVHOME/examples/bin/OIVARCH/RemoteViz" and open the CSV file "monitoring.csv", each metrics are logged and time stamped line by line.
Note: In this example, the RemoteViz service uses the localhost IP address (127.0.0.1) by default. To run it on a web server, start the example by passing the service IP address and port as arguments (ex : RemoteVizHelloConeRenderingService 192.168.0.1 8082) and edit the file "index.html" (client side) to modify the IP address and the port.
SCREENSHOT:
FILES:
-
RemoteViz/Monitoring/MonitoringCSV/CSVMonitoredRenderingService/include/MonitoringMetricsListener.h
-
RemoteViz/Monitoring/MonitoringCSV/CSVMonitoredRenderingService/src/MonitoringMetricsListener.cxx
-
RemoteViz/Monitoring/MonitoringCSV/CSVMonitoredRenderingService/include/MonitoringServiceListener.h
-
RemoteViz/Monitoring/MonitoringCSV/CSVMonitoredRenderingService/src/MonitoringServiceListener.cxx
-
RemoteViz/Monitoring/MonitoringCSV/CSVMonitoredRenderingService/src/main.cxx
-
RemoteViz/Monitoring/Clients/HTML5/index.html