Custom statistics allow you to visualize Data Metrics from DataService Studio.
Prerequisites
The custom statistics service is enabled. For more information, see Enable and disable O&M statistics.
Background information
By default, the O&M statistics service is disabled for new Enterprise Edition instances. You must enable it manually. You can also disable the service after it is enabled. The O&M statistics service currently supports device statistics, working status statistics, event statistics, and custom statistics. For more information about the O&M statistics service, see O&M statistics overview.
Procedure
-
Log on to the IoT Platform console.
-
In the upper-left corner of the console, select the region where your Enterprise instance is located.
-
On the Instance Overview page, click the name of the target Enterprise instance.
-
In the left-side navigation pane, choose .
-
Click the Custom Statistics tab.
-
Click Add Custom Panel in the center of the page. In the dialog box that appears, enter a Panel Name and click OK.
-
Click
next to the panel name to create a new panel. You can create a maximum of five panels. -
To change the order of the panels, move the mouse pointer before the target panel name, press and hold
, and drag the panel. -
Move the mouse pointer after the target panel name and click
to edit the panel name or delete the panel.
-
-
Click Add Custom Metric in the center of the page. In the Add Metric dialog box, click Preset Metric or Custom Metric.
NoteFor more information about Data Metrics, see Data Metrics overview.
Preset metrics
-
From the Preset Metric Item list, select the target metric.
ImportantIf the selected preset metric is not enabled, click Go to Enable. You are redirected to the Preset Metrics tab on the page, where you can enable the target metric. For more information, see Manage preset metric tables.
-
From the Product list, select the target product.
-
Configure parameters such as Dimension and Display Mode.
-
Click OK.
Custom metrics
-
Select Product or Device.
-
Configure parameters such as the product, device, and custom metric item.
ImportantFor instructions on how to edit a custom metric, see Create a metric.
-
Click OK.
-
-
Configure the metric cards and the data panel.
-
Add Metric: Add a new metric to the current panel.
-
Edit Panel
-
Drag the metric cards to change their order and then click Save on the right side of the page.
-
Click
in the upper-right corner of a metric card to delete the metric.
-
-
Delete Panel: In the dialog box that appears, click OK to delete the current panel.
-
Click
in the upper-right corner of a metric card to perform operations such as Edit, Enlarge, or Remove the metric. -
From the Time list on the right side of the page, select a time range for the metric: Last 1 Day, Last 7 Days, Last 30 Days, or Custom.
-