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:

  1. Navigate to the "Analytics" view in the main menu
  2. Click the "+" button at the bottom right of the screen
  3. Enter a name for the metric, e.g. "Lobby Temperature"
  4. Select the device to which the property of interest belongs
  5. Select the property of the device to log
  6. Enter the retention period (the period of time for which saved values are retained)
  7. Click the "Add" button

Screenshot of the metrics view with no devices added Empty metrics view

Screenshot of the add metric dialog Add metric dialog

Screenshot of the add metric dialog populated with data to log the temperature property of a temperature sensor in the lobby of the building Populated add metric dialog

Technical Note: Metrics currently only support numerical properties (i.e. those with a type of number or integer). Properties can only be logged if they provide an observeproperty operation conforming to the HTTP SSE Profile.