good morning all,
if I call the /v2/machine/monitoring/historic API, I get a response including a data array such as
{“dateTime”:“2016-12-29T13:30:00”,“data”:[0,27024,80877]}, …
could anyone tell me what is the meaning of the fields in the data array?
thank you and regards,
Bruno
Hello Bruno,
The REST API command for historic monitoring is outlined in this tutorial:
https://www.wowza.com/docs/statistics-query-examples#historicalstats
Here’s a description of the returned array:
index 0 = Bandwidth Usage coming Into the application in KB/s (where 1024 bytes per KB)
index 1 = Bandwidth Usage going out of the application in KB/s (where 1024 bytes per KB)
index 2 = RTMP Connection Count in and out of the application
index 3 = RTSP Connection Count in and out of the application
index 4 = HDS Connection Count in and out of the application
index 5 = HLS Connection Count in and out of the application
index 6 = SmoothStreaming Connection Count in and out of the application
index 7 = WEB RTC Connection Count in and out of the application
index 8 = WEM Connection Count in and out of the application
index 9 = DASH Connection Count in and out of the application
I do hope this helps.
Regards,
Jason Hatchett
Hi Bruno,
For the /v2/machine/monitoring/historic REST API endpoint, the three returned fields in the data array should correspond to:
================================
getMachineMonitoringHistoric
================================
index 0 = CPU Usage
index 1 = Memory Usage in MB (where 1048576 bytes per MB)
index 2 = Disk Usage in MB (where 1048576 bytes per MB)
Michelle