This blog was originally published at project-flotta.io as part of my Google Summer of Code contribution in 2022.
Edge Example App is an app for Flotta Edge devices, with a workload that will be deployed on the device that has two main features:
Sensing the Internet (which helps to construct devices network topology). <= This article (Part 2)
Read CPU temperature (which indicates how much load the device is handling).
How this app works
This app is the presenting layer of the Flotta Edge devices, gets its data from the backend app endpoints, and displays it to the user.
You can list all devices that use your S3 Bucket as a storage bucket, and for each device, you can see its information and its network topology.
Here are screenshots of the app:
- List Devises page
- Device page with app features
- Network topology page
How to use this app
All you need have to use this app is to have an S3 bucket to store the data, and to configure the backend app to use this bucket.
Future work ideas
Add more filters to the Network Topology graph (e.g. by date etc.).
Add more information to the devices list (e.g. device type, device location, etc.).
https://github.com/project-flotta/flotta-edge-example <= Device App
https://github.com/project-flotta/flotta-webapp-frontend <= Web App frontend
https://github.com/project-flotta/flotta-webapp-backend <= Web App backend