Analytics
Add Metric
Metrics provide the ability to log and visualise the value of a particular property of a particular device over time.
To add a metric:
- Navigate to the "Analytics" view in the main menu
- Click the "+" button at the bottom right of the screen
- Enter a name for the metric, e.g. "Lobby Temperature"
- Select the device to which the property of interest belongs
- Select the property of the device to log
- Enter the retention period (the period of time for which saved values are retained)
- Click the "Add" button
Empty metrics view
Add metric dialog
Populated add metric dialog
Technical Note: Metrics currently only support numerical properties (i.e. those with a
typeofnumberorinteger). Properties can only be logged if they provide anobservepropertyoperation conforming to the HTTP SSE Profile.
List Metrics
To view a list of metrics:
- Navigate to the "Analytics" view in the main menu
The user is shown a list of metrics they are tracking.
Analytics view
View Metric
To view the results of a metric:
- Navigate to the "Analytics" view in the main menu
- Click on the metric you would like to view
The user will be shown a line graph of the value of the property over time.
Metric view
Note: Currently the graph shows all known values of the property over time and the graph can not yet be zoomed or filtered.
Remove Metric
To remove a metric:
- Navigate to the metric in the analytics view
- Click the overflow menu button at the bottom right of the screen
- Click the "Remove" menu option
- Click the "Remove" button in the confirmation dialog
Note: When a metric is removed, previously logged property readings relating to the metric are not immediately deleted since other metrics may rely on them. Logged readings are automatically deleted once their retention period expires.
Remove metric option in metric overflow menu
Remove metric confirmation dialog