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/.

Get Industrial Internet Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.