Test Case Title |
TC10.6 - Monitoring Exploitation of Smart City API |
Goal |
I can use dashboard to Monitor the usage of the Smart City API, to understand which are the most active IPs in posing requests. |
Prerequisites |
Access to the Snap4City portal as registered users. The following functionalities are available only for specific Snap4city users with specific privileges. |
Expected successful result |
Access to the dashboards accessible by the links and see them, visualization of the status, on which the dashboard owner can set some rules for firing and send notifications as email, or other means. |
Steps |
Snap4City support bidirectional flows in the end to end process passing from IOT devices to Dashboards, for content and resources, for dashboard and interactions at all level and for all user kinds:
- IOT devices with sensors and actuators
- Dashboards with widgets for
- showing data coming from IOT Applications, Sensors, KPI, KB, and IOT Devices
- acting on IOT devices, IOT Applications, IOT Brokers
- saving/loading/delegating MyPersonalData, from/to IOT Applications: ValueType, ValueName for example for GPS coordinates, trends, weights, glucose, etc.
- saving/loading/delegating MyAnnotation, from/to IOT Applications, for example for: comments, ranking.
- IOT Application getting data from IOT devices and sending data to actuators
- Notifications with Notificator and IOT Applications, sending notification via multiple channels
- DataGate for upload, download, share data sets
- ETL processes can collect data but also send data on external services and on DataGate
- Resource Manager for upload, download, share of resources such as: dashboards, IOT applications, ETL processes, data analytics processes, IOT Blocks/MicroServices, etc.
Access to Snap4City portal
Click on Management --> Smart City API Monitoring as depicted in the figure
Also accessible as
https://dashboard.snap4city.org/dashboardSmartCity/view/index.php?iddasboard=MTkw
From the figure it is possible to read the number of requests, while on the rights side the distribution of the number of requests. Please observe that the solution may exploits the Notificator to send notification on the basis of the data collected and shown.
The top diagram presents the distribution of the accesses in terms of number of accesses. Some of the graphs have daily/weakly time results, while the large majority graph diagrams is also supported by tools.
Please note the automated update.