Industrial Internet Application Development
上QQ阅读APP看书,第一时间看更新

Getting statistics

To get statistics on sensor data, one needs to open a browser and navigate to http://RECEIVER-ADDRESS:8080/stats or https://RECEIVER-IN-PREDIX/stats:

[
{
"avg": "64.3",
"max":100,
"min":17,
"count":"10",
"sum":"643"
}
]
For the source code as shown in this example, go to https://github.com/Altoros/iot-book/.